Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove some noises in tests (#16448) | flywind | 2020-12-27 | 1 | -7/+3 |
| | |||||
* | testament: error instead of silently ignore invalid targets; remove ↵ | Timothee Cour | 2020-12-14 | 1 | -1/+1 |
| | | | | | | | | | | | 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 Cour | 2020-11-28 | 1 | -1/+1 |
| | | | | | | | output spec (#16151) * fix megatest newlines * still allow missing trailing newline for now but in a more strict way than before | ||||
* | close #4318(add testcase for #4318) (#15904) | flywind | 2020-11-11 | 1 | -0/+12 |
| | | | | | | | | | * close #4318(add testcase for #4318) * Update tests/objects/t4318.nim Co-authored-by: Juan Carlos <juancarlospaco@gmail.com> Co-authored-by: Juan Carlos <juancarlospaco@gmail.com> | ||||
* | fix #14698 nkRecWhen caused internalAssert in semConstructFields when ↵ | Timothee Cour | 2020-07-27 | 1 | -0/+20 |
| | | | | | | | | | | | generic type not mentioned in fields (#14709) * fix #14698 nkRecWhen caused internalAssert in semConstructFields when generic type not mentioned in fields * address comment * Update compiler/semtypinst.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | Error -> Defect for defects (#13908) | Jacek Sieka | 2020-04-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | * Error -> Defect for defects The distinction between Error and Defect is subjective, context-dependent and somewhat arbitrary, so when looking at an exception, it's hard to guess what it is - this happens often when looking at a `raises` list _without_ opening the corresponding definition and digging through layers of inheritance. With the help of a little consistency in naming, it's at least possible to start disentangling the two error types and the standard lib can set a good example here. | ||||
* | implement (#14114) | cooldome | 2020-04-25 | 1 | -0/+6 |
| | | | Co-authored-by: cooldome <ariabushenko@bk.ru> | ||||
* | Turn some of the errors back into warnings | Zahary Karadjov | 2020-04-01 | 1 | -1/+1 |
| | |||||
* | fix when statements in inheritable generic objects (#13667) [backport] | Jasper Jenkins | 2020-03-17 | 1 | -0/+11 |
| | |||||
* | Revert "printing float values will have one more digit. (#13276) [backport]" ↵ | Timothee Cour | 2020-02-08 | 1 | -3/+3 |
| | | | | | (#13363) This reverts commit b2c6db97f9f477f6999fa9c7aae5e32f10b6b3fe. | ||||
* | printing float values will have one more digit. (#13276) [backport] | Arne Döring | 2020-02-07 | 1 | -3/+3 |
| | | | | * printing float values will have one more digit. Fixes #13196 | ||||
* | Fixed objects being erroneously zeroed out before object construction ↵ | Neelesh Chandola | 2019-12-05 | 1 | -0/+22 |
| | | | | (#12814) [backport] | ||||
* | Fix spellings (#12277) [backport] | Federico Ceratto | 2019-09-27 | 1 | -1/+1 |
| | |||||
* | Remove ENDB (#12095) | Clyybber | 2019-08-31 | 1 | -1/+0 |
| | |||||
* | Remove immediate pragma (#11308) | Arne Döring | 2019-05-29 | 1 | -1/+1 |
| | | | | | * remove immediate from tests * remove immediate from the compiler | ||||
* | add tests, closes #3012, closes #7244 | narimiran | 2019-02-27 | 1 | -0/+21 |
| | |||||
* | fixes #10195 | Araq | 2019-02-19 | 1 | -0/+5 |
| | |||||
* | 32 bit fixes (#10608) | Arne Döring | 2019-02-13 | 1 | -27/+1 |
| | |||||
* | disable one more test for C++ | Araq | 2019-01-16 | 1 | -0/+4 |
| | |||||
* | fixes #10203 (#10290) | Andreas Rumpf | 2019-01-15 | 1 | -0/+20 |
| | | | | | | * fixes #10203 * make typredef test green again * fixes the regressions differently | ||||
* | void object fields are now ignored by codegen and fields/fieldPairs iterator ↵ | Neelesh Chandola | 2019-01-10 | 1 | -0/+17 |
| | | | | | | | | | (#10144) * Codegen now ignores object fields of type void * Fix `$` bug for objects/tuples where it does not add a comma * fields/fieldPairs iterators now ignore void types * Use `isEmptyType` instead of checking for `tyVoid` directly | ||||
* | Merge pull request #8748 from LemonBoy/when-in-objects | Andreas Rumpf | 2018-12-12 | 1 | -0/+51 |
|\ | | | | | Pervasive replacement of nkRecWhen in generic types | ||||
| * | Pervasive replacement of nkRecWhen in generic types | LemonBoy | 2018-10-19 | 1 | -0/+51 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Long story short, even if the type contains no reference at all to its generic parameters we still have to walk its AST and evaluate any nkRecWhen nodes that semRecordNodeAux skipped due to the type being a generic one. We also must be careful to modify the type `n` node in place since it may be referenced by the caller as seen in the tillegaltyperecursion test. Moreover we also can't have the nkSym drift away from their original values in order not to break the JS nkObjConstr codegen. | ||||
* | | megatest checks output and nimout | Arne Döring | 2018-12-11 | 1 | -18/+13 |
| | | |||||
* | | require errormsg to be specified before file. | Arne Döring | 2018-12-11 | 2 | -5/+5 |
| | | |||||
* | | threw away a silly test | Araq | 2018-11-23 | 1 | -61/+0 |
| | | |||||
* | | activated more tests, allow input in test spec | Arne Döring | 2018-11-23 | 1 | -0/+9 |
| | | |||||
* | | make run the default action of a test in tester | Arne Döring | 2018-11-23 | 2 | -1/+8 |
| | | |||||
* | | More descriptive names of test files (#9531) | Miran | 2018-10-29 | 2 | -0/+0 |
| | | | | | | | | | | * change generic `tissues` name to more specific * change `tvarious` to more specific names | ||||
* | | Merge tests into a larger file (part 5 of ∞) (#9368) | Miran | 2018-10-16 | 11 | -223/+204 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | make tests green again | Andreas Rumpf | 2018-07-05 | 2 | -3/+3 |
| | |||||
* | make tests green again | Andreas Rumpf | 2018-07-05 | 2 | -5/+5 |
| | |||||
* | fixes #7637; assignments are not allowed to slice object; minor breaking change | Andreas Rumpf | 2018-04-21 | 3 | -13/+34 |
| | |||||
* | avoid creating temporary in genObjConstr if possible (#7032) | jcosborn | 2018-01-11 | 2 | -1/+13 |
| | |||||
* | Improved collection-to-string behavior (#6825) | Fabian Keller | 2017-12-14 | 1 | -10/+10 |
| | |||||
* | fixes #6294 | Araq | 2017-09-05 | 1 | -1/+37 |
| | |||||
* | Fix typo (#6236) | Daniil Yarancev | 2017-08-12 | 1 | -1/+1 |
| | |||||
* | Remove expr/stmt (#5857) | Arne Döring | 2017-07-25 | 1 | -1/+1 |
| | |||||
* | fixes #5892 | Araq | 2017-07-17 | 1 | -0/+19 |
| | |||||
* | fixes #4763 | Araq | 2017-07-17 | 1 | -0/+32 |
| | |||||
* | fixes #4673 | Andreas Rumpf | 2016-09-01 | 1 | -0/+13 |
| | |||||
* | make test green again (code was wrong, but not detected by compiler) | Andreas Rumpf | 2016-04-30 | 1 | -1/+1 |
| | |||||
* | fixes regression: tobjconstr2 test works again | Araq | 2015-10-14 | 1 | -1/+1 |
| | |||||
* | fix test failure due to "illegal recursion" error message | Aman Gupta | 2015-10-01 | 1 | -1/+1 |
| | | | | | | | | | | FAIL: tillegal_recursion.nim Test "tests/objects/tillegal_recursion.nim" in category "objects" Failure: reMsgsDiffer Expected: illegal recursion in type 'object' Gotten: inheritance only works with non-final objects | ||||
* | tests: Trim .nim files trailing whitespace | Adam Strzelecki | 2015-09-04 | 7 | -17/+17 |
| | | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} + | ||||
* | fixes #3038 | Araq | 2015-07-03 | 1 | -0/+28 |
| | |||||
* | renamed writeln to writeLine in tests | patrick dw | 2015-06-19 | 2 | -13/+13 |
| | |||||
* | fixes #1658 | Araq | 2015-04-11 | 1 | -0/+15 |
| | |||||
* | fixes #1691 | Araq | 2015-04-11 | 1 | -0/+7 |
| | |||||
* | fixes #2509 | Araq | 2015-04-11 | 1 | -0/+19 |
| |