summary refs log tree commit diff stats
path: root/tests/method/tmultim1.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/method/tmultim1.nim')
-rw-r--r--tests/method/tmultim1.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/method/tmultim1.nim b/tests/method/tmultim1.nim
index c7027f4c0..010468a5b 100644
--- a/tests/method/tmultim1.nim
+++ b/tests/method/tmultim1.nim
@@ -11,7 +11,7 @@ type
   PlusExpr = ref object of Expression
     a, b: Expression
 
-method eval(e: Expression): int = quit "to override!"
+method eval(e: Expression): int {.base.} = quit "to override!"
 method eval(e: Literal): int = return e.x
 method eval(e: PlusExpr): int = return eval(e.a) + eval(e.b)