summary refs log tree commit diff stats
path: root/tests/ccgbugs
Commit message (Collapse)AuthorAgeFilesLines
* type with same name in different scope now works (#17710)Timothee Cour2021-04-141-0/+111
| | | | * type with same name in different scope now works * fix tests/enum/tenum.nim which was wrong because it was affected by this bug
* Fix #14325 (#17308)Clyybber2021-03-111-0/+17
| | | | | * Fix #14325 * Refactor and fix
* attempt to fix #16374 (#17232)flywind2021-03-021-0/+38
| | | | | | | | | * remove unnecessary when statement * remove outdated codes * attempt to fix #16374 * fix
* `--nilseqs` is now a deprecated noop (#17211)Timothee Cour2021-03-011-1/+1
| | | | | * --nilseqs is now a deprecated noop * fix tests; fix: future => sugar
* use typeof instead type (#16962)flywind2021-02-082-2/+2
|
* Add testcase for #14880 (#16795)Clyybber2021-01-221-0/+10
|
* close #9655 add testcase (#16683)flywind2021-01-111-0/+30
|
* use doAssert in tests (#16486)flywind2020-12-282-3/+3
|
* testament: error instead of silently ignore invalid targets; remove ↵Timothee Cour2020-12-142-2/+2
| | | | | | | | | | | pointless alias target vs targets; document matrix; DRY (#16343) * testament: error instead of silently ignore invalid targets * s/target/targets/ * fix test; refs #16344 * address comments * Update testament/specs.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* make megatest consistent with unjoined tests wrt newlines, honor newlines in ↵Timothee Cour2020-11-281-0/+2
| | | | | | | output spec (#16151) * fix megatest newlines * still allow missing trailing newline for now but in a more strict way than before
* updated repr tests (#16147)Andreas Rumpf2020-11-261-1/+0
|
* fixes https://github.com/status-im/nimbus-eth2/issues/1549 (#16146)Andreas Rumpf2020-11-261-0/+1
| | | | | * fixes https://github.com/status-im/nimbus-eth2/issues/1549 [backport:1.4] * test fixup
* fix #6497 (#16027)flywind2020-11-181-0/+13
| | | | | * fix #6497 * add testcase for #16027
* Revert "fix #15623 (#16009)"Andrey R (cooldome)2020-11-172-24/+0
| | | | This reverts commit 0f7f159a35bc10a43ff15bcb6c20eefdc574138e.
* fix #15623 (#16009)flywind2020-11-172-0/+24
| | | | | | | | | * fix #15623 * add testcase for #15623 * fix * add testcase
* close #13062(add testcase for #13062) (#15956)flywind2020-11-131-0/+27
|
* closes #6036 (#15779)flywind2020-10-301-0/+11
| | | | | | | | | * add testcase for #6036 * try * try again * make it work
* fixes a C code generator regression, no need to backport, only the 1.4 line ↵Andreas Rumpf2020-10-141-0/+18
| | | | is affected (#15569)
* added missing .noalias support for object fields (#15445)Andreas Rumpf2020-10-011-1/+6
|
* .noalias annotation; frontend support (#15419)Andreas Rumpf2020-09-281-0/+8
| | | | | * .noalias annotation; frontend support * added .noalias support to Nim; implements https://github.com/nim-lang/RFCs/issues/204
* better support for slices as views (#15414)Andreas Rumpf2020-09-271-27/+0
| | | | | | * moved view tests to tests/views * refactoring * more refactorings * better support for system.toOpenArray for first class view types
* borrow checking (#15282)Andreas Rumpf2020-09-091-0/+27
| | | | | | | | | | | * refactoring: move procs to typeallowed.nim * frontend preparations for first class openArray support * prepare the code generator for first class openArray * code generation for first class openArray; WIP * code generation for open arrays, progress * added isViewType proc * preparations for borrow checking * added borrow checking to the front end
* :DClyybber2020-07-111-0/+28
|
* Add testcase for some old fixed issues (#14960)Clyybber2020-07-101-18/+0
| | | | | | | * Add testcase for #2703 * Add testcase for #2586 * Small fix
* Fix #14396 (#14793)Clyybber2020-07-041-0/+70
| | | | | | | | | | | | | | | | | | | | | | * Correct Left-To-Right evaluation of proc args * Fix CPP backend * Add testcase * closes #14396 * closes #14345 * Improve test and optimize * Improve testcase and optimize literals * Fix bug * Expand testcase and use DFA to optimize * Turn genParams into proc * Turn withTmpIfNeeded into a proc * Cleanup * Fix crash * Better analysis * Cleanup * Trailing newline.. * Fix build * Tiny cleanup Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* warn about observerable stores but don't prevent them for 1.2.2 ↵Andreas Rumpf2020-05-301-4/+6
| | | | [backport:1.2]; refs https://github.com/nim-lang/RFCs/issues/230 (#14510)
* fixes #14126 [backport:1.2] (#14390)Andreas Rumpf2020-05-201-3/+45
| | | | | * fixes #14126 [backport:1.2] * used more logic to optimize it further; updated Nimble version
* Fix #14160 (#14161)Clyybber2020-04-301-0/+15
| | | | | * Fix #14160 * Add testcase
* fix #13902 distinct uint64 type corruption on 32-bit with borrow (#13907) ↵Timothee Cour2020-04-081-0/+12
| | | | | | | [backport:1.2] * fix #13902 distinct uint64 type corruption on 32-bit with borrow Co-authored-by: Timothee Cour <timothee.cour2+lightsail@gmail.com>
* fix some codegen bugs: NIM_BOOL, NIM_STATIC_ASSERT, --passc:-std=... (etc) ↵Timothee Cour2020-04-072-0/+17
| | | | | | | | (#13798) * fix cgen bool D20200328T203812 * --passc:std=c++17 (etc) now works instead of silently ignored * document caveats for NIM_NIL
* faster CIs (#13803)Miran2020-03-301-27/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ttables: smaller table, 5x speedup * thavlak: less iterations, less loops; 30% speedup * tasyncclosestall: shorter timeout; 35% speedup * gcleak4: less iterations, 2x speedup * ttimes: remove deprecated stuff * tdangerisrelease: remove cpp backend, 3x speedup * tfrexp1: smaller range, 2x speedup * trtree: fix warnings, less iterations, 6x speedup * tasyncawait_cyclebreaker: smaller swarm size; 2x speedup * trealloc: smaller number of iterations; 10x speedup * towned_binary_tree: less iterations, 4x speedup * tclosure: remove unused code, less iterations; 2x speedup * twaitany: less durations; 1.4x speedup * tasync_misc: less iterations, 2x speedup * t8535: smaller sleep, 1.5x speedup * tmanyjoin: smaller sleep, 2x speedup * t12221: shorter sleeps, removed two slower tests; 1.6x speedup * tfuturestream: smaller sleep; 1.5x speedup * growobjcrash: less iterations; 2x speedup * ttryrecv: smaller sleep; 1.5x speedup * treusetvar: less threads; 2x speedup * delete tthreadanalysis2, basically a duplicate of tthreadanalysis * t7758: less iterations, 1.5x speedup * tasyncawait: smaller swarm, less messages; 1.5x speedup * tjsandnativeasync: smaller sleep, 1.5x speedup * tpendingcheck: smaller sleep, 1.5x speedup * remove rodfiles test category * move tseq from its own category to 'collections' category * remove unneeded tests and helpers from 'assert' category * stdlib: merge tbitops2 into tbitops * remove 'trepr2' from 'stdlib' cat * merge 'tstreams' into one file * remove 'tinefficient_const_table' from 'ccbugs' cat * merge 'tcollections_to_string' into 'tcollections' * tblocking_channel: smaller sleep, small speedup * tconvexhull: less iterartions; 1.2x speedup * merge 'tdeepcopy2' into 'tdeepcopy' * merge 'tdisjoint_slice2' into 'tdisjoint_slice1' * tmissing_deepcopy: smaller sequence * tsendtwice: smaller arrays; 5x speedup * remove 'tindexerrorformatbounds' * disable multimethod tests * remove 'gc:none' and 'refc' without 'd:useRealtimeGC' from gc tests * koch.nim: bootstrap just with '-d:release', no need for 'csource' * add github workflow for documentation * testament: no need for 8 sub-second decimals
* fixes #13281 (#13282)cooldome2020-01-281-1/+17
| | | | | | * fixes ##13281 * add comment to test
* style fix: change 'JS' to 'js' to make it consistent (#13168)Miran2020-01-161-1/+1
|
* better support for PROGMEM like annotations for lets/vars; fixes #12216 (#12799)Andreas Rumpf2019-12-051-0/+11
|
* remove unused imports from testsnarimiran2019-11-062-3/+2
|
* remove deprecated procs (#12535)Andreas Rumpf2019-11-051-1/+1
|
* refactor illegal iterator assignment detection (#12212)Arne Döring2019-10-112-27/+14
| | | | | | * refactor illegal iterator assignment detection * delete crappy test
* revert #12100; typeof(nil) is weird enough, don't allow it as the return typeAndreas Rumpf2019-09-021-3/+0
|
* Allow typeof(nil) as a return typeAlbert Safin2019-08-311-1/+4
|
* Allow typeof(nil) as generic parameter (#11869)Oscar Nihlgård2019-08-031-2/+11
|
* fixes #11525Andreas Rumpf2019-06-261-1/+38
|
* make tests green againAraq2019-05-271-3/+2
|
* Allow void macro result (#11286)Arne Döring2019-05-211-1/+1
| | | | | * allow void macro result * add test for void macro result type
* closes #9825Araq2019-05-101-0/+11
|
* Add testcase for #9684 (#11221)Clyybber2019-05-101-0/+11
|
* Fix #9844 (#11216)Clyybber2019-05-091-1/+15
| | | | * Fixes #9844
* fixes #9578 (#11176)jcosborn2019-05-066-0/+108
| | | | | | * fixes #9578 * fixed and expanded test
* fixes #9403Araq2019-05-051-1/+20
|
* iterators: several small fixes (#11162)Miran2019-05-041-1/+1
| | | | | | * fix pairs, mpairs, mitems for cstring for JS backend * add mutation check for pairs and mpairs for strings and seqs * change the assertion message - modifying (changing elements) is not a problem, changing the length is
* Fix varargs int32 (#11054)Arne Döring2019-04-181-0/+10
| | | | | * fixes #10999 * adds a test for #10999