summary refs log tree commit diff stats
path: root/tests/method/tmproto.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/method/tmproto.nim')
-rw-r--r--tests/method/tmproto.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/method/tmproto.nim b/tests/method/tmproto.nim
index 5d75cff1a..087666ea0 100644
--- a/tests/method/tmproto.nim
+++ b/tests/method/tmproto.nim
@@ -2,7 +2,7 @@ type
   Obj1 = ref object {.inheritable.}
   Obj2 = ref object of Obj1
 
-method beta(x: Obj1): int
+method beta(x: Obj1): int {.base.}
 
 proc delta(x: Obj2): int =
   beta(x)