summary refs log tree commit diff stats
path: root/tests/objects
Commit message (Collapse)AuthorAgeFilesLines
* Fixed objects being erroneously zeroed out before object construction ↵Neelesh Chandola2019-12-051-0/+22
| | | | (#12814) [backport]
* Fix spellings (#12277) [backport]Federico Ceratto2019-09-271-1/+1
|
* Remove ENDB (#12095)Clyybber2019-08-311-1/+0
|
* Remove immediate pragma (#11308)Arne Döring2019-05-291-1/+1
| | | | | * remove immediate from tests * remove immediate from the compiler
* add tests, closes #3012, closes #7244narimiran2019-02-271-0/+21
|
* fixes #10195Araq2019-02-191-0/+5
|
* 32 bit fixes (#10608)Arne Döring2019-02-131-27/+1
|
* disable one more test for C++Araq2019-01-161-0/+4
|
* fixes #10203 (#10290)Andreas Rumpf2019-01-151-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 Chandola2019-01-101-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-objectsAndreas Rumpf2018-12-121-0/+51
|\ | | | | Pervasive replacement of nkRecWhen in generic types
| * Pervasive replacement of nkRecWhen in generic typesLemonBoy2018-10-191-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 nimoutArne Döring2018-12-111-18/+13
| |
* | require errormsg to be specified before file.Arne Döring2018-12-112-5/+5
| |
* | threw away a silly testAraq2018-11-231-61/+0
| |
* | activated more tests, allow input in test specArne Döring2018-11-231-0/+9
| |
* | make run the default action of a test in testerArne Döring2018-11-232-1/+8
| |
* | More descriptive names of test files (#9531)Miran2018-10-292-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)Miran2018-10-1611-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 againAndreas Rumpf2018-07-052-3/+3
|
* make tests green againAndreas Rumpf2018-07-052-5/+5
|
* fixes #7637; assignments are not allowed to slice object; minor breaking changeAndreas Rumpf2018-04-213-13/+34
|
* avoid creating temporary in genObjConstr if possible (#7032)jcosborn2018-01-112-1/+13
|
* Improved collection-to-string behavior (#6825)Fabian Keller2017-12-141-10/+10
|
* fixes #6294Araq2017-09-051-1/+37
|
* Fix typo (#6236)Daniil Yarancev2017-08-121-1/+1
|
* Remove expr/stmt (#5857)Arne Döring2017-07-251-1/+1
|
* fixes #5892Araq2017-07-171-0/+19
|
* fixes #4763Araq2017-07-171-0/+32
|
* fixes #4673Andreas Rumpf2016-09-011-0/+13
|
* make test green again (code was wrong, but not detected by compiler)Andreas Rumpf2016-04-301-1/+1
|
* fixes regression: tobjconstr2 test works againAraq2015-10-141-1/+1
|
* fix test failure due to "illegal recursion" error messageAman Gupta2015-10-011-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 whitespaceAdam Strzelecki2015-09-047-17/+17
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* fixes #3038Araq2015-07-031-0/+28
|
* renamed writeln to writeLine in testspatrick dw2015-06-192-13/+13
|
* fixes #1658Araq2015-04-111-0/+15
|
* fixes #1691Araq2015-04-111-0/+7
|
* fixes #2509Araq2015-04-111-0/+19
|
* fixes #1791Araq2015-03-121-13/+13
|
* some love for the testsuite; fixed regressionsAraq2015-03-011-0/+3
|
* cleanup index generationAraq2015-02-101-0/+27
|
* fixes #837Araq2014-11-212-6/+34
|
* fixes #1053, fixes #924Araq2014-11-191-0/+55
|
* fixes #1274Araq2014-11-181-0/+16
|
* further adaptationsAraq2014-08-291-1/+1
|
* fixes #1275Araq2014-07-011-0/+12
|
* Added support for {.packed.} pragma on objectsAudun Wilhelmsen2014-03-181-0/+49
| | | | Added tests for packed and union pragmas
* next steps for closure iteratorsAraq2014-01-229-0/+280
|
* new tester; all tests categorizedAraq2014-01-131-0/+52