From 7630cd076bbdb9c3b1b851ffc6dc6a8ada07f4a6 Mon Sep 17 00:00:00 2001 From: Araq Date: Sat, 27 Aug 2016 13:26:16 +0200 Subject: [PATCH] updated test case --- tests/rodfiles/amethods.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/rodfiles/amethods.nim b/tests/rodfiles/amethods.nim index ecd36d4912..29cf757f70 100644 --- a/tests/rodfiles/amethods.nim +++ b/tests/rodfiles/amethods.nim @@ -1,11 +1,11 @@ type - TBaseClass* = object of TObject + TBaseClass* = object of RootObj proc newBaseClass*: ref TBaseClass = new result -method echoType*(x: ref TBaseClass) = +method echoType*(x: ref TBaseClass) {.base.} = echo "base class" proc echoAlias*(x: ref TBaseClass) =