summary refs log tree commit diff stats
path: root/tests/concepts
Commit message (Collapse)AuthorAgeFilesLines
* 32 bit fixes (#10608)Arne Döring2019-02-131-6/+6
|
* megatest checks output and nimoutArne Döring2018-12-111-1/+3
|
* megatest can be executedArne Döring2018-12-111-0/+0
|
* require errormsg to be specified before file.Arne Döring2018-12-112-17/+15
|
* cleanup tests; don't use non-working 'msg' spec fieldAraq2018-11-234-4/+3
|
* More descriptive names of test files (#9531)Miran2018-10-291-0/+0
| | | | | * change generic `tissues` name to more specific * change `tvarious` to more specific names
* make tests green againAndreas Rumpf2018-10-241-0/+1
|
* Merge tests into a larger file (part 5 of ∞) (#9368)Miran2018-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * merge magics * merge metatype tests * merge method tests * merge objects tests * change `import future` to `import sugar` Nim in Action tests are left with `import future`, to ensure compatibility. * merge overload tests * merge proc tests * merge procvar tests * merge range tests * merge seq tests * merge sets tests * remove wrong assert from `tsets3` * fix `jsTests` * better fix
* correctly render AST in doAssert/assert condition: fixes #8518; refs #9301 ↵Timothee Cour2018-10-141-37/+52
| | | | | | (#9332) * fixes #8518; refs #9301; correctly render AST in doAssert condition
* put several issues in tests (#9352)Miran2018-10-131-11/+57
| | | | | | * put several issues in tests * remove wrong test
* Merge tests into a larger file (part 1 of ∞) (#9318)Miran2018-10-1216-428/+862
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * merge actiontable tests * merge arithm tests * merge array tests * merge assign tests * merge bind tests * merge casestmt tests * merge closure tests * merge cnt seq tests * merge collections tests * merge concept issues tests * merge concept tests * fix failing tests * smaller outputs Use `doAssert` where possible. * fix wrong output * split `tcomputedgoto` * revert merging concepts * fix failing test
* compiler: show name of instantiating context in error traces (#6763) (#9207)xzfc2018-10-111-2/+2
|
* closes #5868Araq2018-10-031-0/+19
|
* fixes #7092Araq2018-10-021-2/+12
|
* closes #6249Araq2018-10-021-0/+22
|
* Fix #8126 (#8712)zah2018-08-211-0/+12
| | | | | | This is a temporary fix that will be reworked in a follow up commit that aims to eliminate the tfExplicit flag from the compiler. The complete and proper fix was considered too risky for inclusion just before our 0.19 release.
* fixes #6255, add `system.ashr` arithmetic right shift (#8547)andri lim2018-08-071-6/+6
|
* Correctly hash inferred types (#8286)LemonBoy2018-07-121-0/+16
| | | | | | | We don't really want to hash the tyInferred container since that'd make the "real" type and its inferred counterpart produce different hashes and types for the very same type. Fixes #8280
* make concepts tests green againAndreas Rumpf2018-07-062-12/+12
|
* Fix constant folding of len() with concept type (#8143)LemonBoy2018-06-301-0/+12
| | | Fixes #7952
* Don't consider concept types as non-complex during codegen (#8119)LemonBoy2018-06-271-1/+14
| | | Fixes #7125
* Merge branch 'devel' into typedesc-reformsAndreas Rumpf2018-06-261-0/+31
|\
| * More concept fixesLemonBoy2018-06-241-0/+31
| | | | | | | | Fixes #7705, #7703, #7702
* | fixes #7222; fixes #5595; fixes #3747Zahary Karadjov2018-06-163-0/+45
|/ | | | | | | | | | * late instantiation for the generic procs' default param values * automatic mixin behaviour in concepts Other fixes: * don't render the automatically inserted default params in calls * better rendering of tyFromExpr
* Correct field lookup in concept typesLemonBoy2018-06-121-0/+27
| | | | Fixes #6770
* make more tests greenAraq2018-04-301-1/+1
|
* Static[T] fixes (#7333)zah2018-03-241-0/+19
| | | | | | | | | | | * fix the usage of unresolved static[T] parameters in proc signatures * fix tsametype and tmacrogenerics * Allow creating composite type classes with concepts and using them in type signatures * Allow integers to be used in ident concatenations * Support using imported C++ generic types in proc signatures * fixes #7230 * closes #7379 * re-enable some metatype tests
* better error messages: use <T1, T2> instead of (T1, T2) in order to prevent ↵Araq2018-02-103-29/+29
| | | | confusions with tuple types
* improve the error messages regarding type mismatches in overloading resolutionAndreas Rumpf2018-02-041-7/+30
|
* make tests green againAraq2018-01-151-1/+1
|
* fix #6462Zahary Karadjov2017-12-211-0/+23
|
* fix #6277Zahary Karadjov2017-12-211-0/+20
|
* fix #6108Zahary Karadjov2017-12-211-0/+13
|
* Improved collection-to-string behavior (#6825)Fabian Keller2017-12-141-1/+1
|
* make tests green againAraq2017-12-011-40/+44
|
* make tests green againAndreas Rumpf2017-11-211-3/+3
|
* language change: 'generic' and 'atomic' are not keywords anymoreAndreas Rumpf2017-11-211-2/+2
|
* concepts: fixes the stack overflow that happens for #6691Andreas Rumpf2017-11-051-0/+13
|
* make tests green againAndreas Rumpf2017-10-161-1/+1
|
* make tests green againAndreas Rumpf2017-09-301-1/+1
|
* make tests green againAndreas Rumpf2017-08-311-4/+4
|
* treat var modifiers inside the concept body correctly: #1033Zahary Karadjov2017-08-191-0/+30
|
* Remove expr/stmt (#5857)Arne Döring2017-07-253-8/+5
|
* Fix #5084Zahary Karadjov2017-06-201-0/+61
|
* Fix #5983Zahary Karadjov2017-06-201-0/+22
|
* Fix #5888Zahary Karadjov2017-06-203-0/+36
|
* Fix #5127Zahary Karadjov2017-06-203-26/+53
|
* Fix #4020; Better handling of templates within conceptsZahary Karadjov2017-06-201-0/+56
|
* fix #5968Zahary Karadjov2017-06-201-0/+20
|
* introduce a pre-processing pass for the concept bodiesZahary Karadjov2017-06-202-0/+40
| | | | | | | fixes #4982 fixes #3805 close #3414