mbaseobj.nim 104 B

12345678
  1. type
  2. Base* = ref object of RootObj
  3. s*: string
  4. method m*(b: Base) {.base.} =
  5. echo "Base ", b.s