This commit is contained in:
cooldome 2018-03-23 12:28:22 +00:00 • committed by Andreas Rumpf
commit e2c2ae8e7e
3 changed files with 9 additions and 1 deletions

View file

@ -1,7 +1,9 @@
type
MyRefObject* = ref object
s: string
BaseObj* = ref object of RootObj
ChildObj* = ref object of BaseObj
proc newMyRefObject*(s: string): MyRefObject =
new(result)