updated test case
This commit is contained in:
parent
a13cb26c40
commit
7630cd076b
1 changed files with 2 additions and 2 deletions
|
|
@ -1,11 +1,11 @@
|
||||||
|
|
||||||
type
|
type
|
||||||
TBaseClass* = object of TObject
|
TBaseClass* = object of RootObj
|
||||||
|
|
||||||
proc newBaseClass*: ref TBaseClass =
|
proc newBaseClass*: ref TBaseClass =
|
||||||
new result
|
new result
|
||||||
|
|
||||||
method echoType*(x: ref TBaseClass) =
|
method echoType*(x: ref TBaseClass) {.base.} =
|
||||||
echo "base class"
|
echo "base class"
|
||||||
|
|
||||||
proc echoAlias*(x: ref TBaseClass) =
|
proc echoAlias*(x: ref TBaseClass) =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue