diff options
Diffstat (limited to 'tests/method/tmultim4.nim')
-rw-r--r-- | tests/method/tmultim4.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/method/tmultim4.nim b/tests/method/tmultim4.nim index d824086b2..eabf8d126 100644 --- a/tests/method/tmultim4.nim +++ b/tests/method/tmultim4.nim @@ -5,7 +5,7 @@ discard """ type Test = object of TObject -method doMethod(a: ref TObject) {.raises: [EIO].} = +method doMethod(a: ref TObject) {.base, raises: [EIO].} = quit "override" method doMethod(a: ref Test) = @@ -26,7 +26,7 @@ var s:ref Test = newTest() for z in 1..4: s.doMethod() break - + #works #for z in 1..4: # s.doProc() |