mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-10 06:54:16 +00:00
updated test case
This commit is contained in:
@@ -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) =
|
||||
|
||||
Reference in New Issue
Block a user