diff options
author | Araq <rumpf_a@web.de> | 2016-08-27 13:26:16 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2016-08-27 13:26:16 +0200 |
commit | 7630cd076bbdb9c3b1b851ffc6dc6a8ada07f4a6 (patch) | |
tree | aa7ab4369b86c051f403d26fc69194a075f06ddf /tests/rodfiles/amethods.nim | |
parent | a13cb26c4084d83df1d4627e5b842c050ed69177 (diff) | |
download | Nim-7630cd076bbdb9c3b1b851ffc6dc6a8ada07f4a6.tar.gz |
updated test case
Diffstat (limited to 'tests/rodfiles/amethods.nim')
-rw-r--r-- | tests/rodfiles/amethods.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rodfiles/amethods.nim b/tests/rodfiles/amethods.nim index ecd36d491..29cf757f7 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) = |