Nim/tests/objects
LemonBoy 5afcd09cb3 Pervasive replacement of nkRecWhen in generic types
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.
2018-10-19 22:17:38 +02:00
..
tillegal_recursion.nim fix test failure due to "illegal recursion" error message 2015-10-01 12:25:39 -07:00
tinherentedvalues.nim make tests green again 2018-07-05 15:51:04 +02:00
tinherit_from_generic.nim fixes #4673 2016-09-01 13:02:53 +02:00
tobj_asgn_dont_slice.nim fixes #7637; assignments are not allowed to slice object; minor breaking change 2018-04-21 21:22:36 +02:00
tobjconstr.nim fixes #7637; assignments are not allowed to slice object; minor breaking change 2018-04-21 21:22:36 +02:00
tobjconstr2.nim avoid creating temporary in genObjConstr if possible (#7032) 2018-01-11 02:01:51 +01:00
tobjcov.nim make tests green again 2018-07-05 15:51:04 +02:00
tobject.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
tobject2.nim renamed writeln to writeLine in tests 2015-06-19 01:34:34 -05:00
tobject3.nim Fix typo (#6236) 2017-08-12 14:00:40 +02:00
tobjects.nim make tests green again 2018-07-05 19:14:18 +02:00
tobjloop.nim fixes #1658 2015-04-11 10:01:12 +02:00
tobjpragma.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
tofopr.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
toop.nim make tests green again 2018-07-05 19:14:18 +02:00
toop1.nim Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
trefobjsyntax.nim cleanup index generation 2015-02-10 20:19:48 +01:00
trefobjsyntax2.nim fixes #2509 2015-04-11 10:01:10 +02:00
trefobjsyntax3.nim fixes #3038 2015-07-03 00:20:34 +02:00
twhen1.nim Pervasive replacement of nkRecWhen in generic types 2018-10-19 22:17:38 +02:00