mmultim3.nim 167 B

12345678910111213
  1. type
  2. TObj* {.inheritable.} = object
  3. var myObj* : ref TObj
  4. method test123(a : ref TObj) {.base.} =
  5. echo("Hi base!")
  6. proc testMyObj*() =
  7. test123(myObj)