Commit Graph

18 Commits

Author SHA1 Message Date
Andreas Rumpf
f151b7efd1 added missing test for methods 2017-09-28 21:52:23 +02:00
Arne Döring
52f092d02b Lineinfo change (#6084) 2017-07-17 08:12:15 +02:00
Araq
d91d338d03 fixes #5432 2017-02-26 00:32:07 +01:00
Araq
fa98edc78c another attempt to make test green again 2017-02-24 15:52:52 +01:00
Andreas Rumpf
bc9015df50 make tests green again 2016-11-24 11:48:23 +01:00
Andreas Rumpf
f5fa5dae85 generic multi-methods should work now 2016-07-28 20:23:24 +02:00
trustable-code
3c557a0144 fix issue #3550 2015-12-24 00:07:03 +01:00
Araq
aa36e73ecf fixes #3431, fixes #3370, fixes #3468 2015-10-25 02:22:50 +01:00
Aman Gupta
82a04051bb fix failure in tests/method/tmapper.nim
FAIL: tmapper.nim
Test "tests/method/tmapper.nim" in category "method"
Failure: reMsgsDiffer
Expected:
invalid declaration order; cannot attach 'step' to method defined here: tmapper.nim(22,7)
Gotten:
invalid declaration order; cannot attach 'step' to method defined here: tests/method/tmapper.nim(22,7)
2015-09-30 20:13:38 -07:00
Araq
b1a55d83ec added missing test 2015-09-06 02:32:39 +02:00
Araq
dc047931bb fixes #2590; methods now require a .base annotation 2015-09-06 02:31:28 +02:00
Adam Strzelecki
e80465dacf tests: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:04:32 +02:00
Araq
94f2d639b1 fixes #2401 2015-03-25 13:05:32 +01:00
Araq
105a0616a9 implemented procCall builtin 2014-11-28 02:43:41 +01:00
Reimer Behrends
ce9a57fcfd Fix dispatcher creation for method prototypes.
When method prototypes were involved (e.g. forward declarations
for mutual recursion), calls were sometimes dispatched to the
wrong method implementation. One of the reasons was that method
dispatchers were then not always attached to method ASTs in
the correct place.
2014-11-02 23:35:41 +01:00
Reimer Behrends
bce2d57d95 Added test case for recursive methods. 2014-11-02 15:37:16 +01:00
Clay Sweetser
ce5a494927 Changed tests and tools to use 'discard' statements instead of 'nil' for empty blocks. 2014-02-15 18:57:03 -05:00
Araq
20b5f31c03 new tester; all tests categorized 2014-01-13 02:10:03 +01:00