repl.it
@anonymous/

LoyalUnevenAtoms

Nim

No description

fork
loading
Files
  • main.nim
  • nimcache
  • main
  • module.nim
main.nim
1
2
3
4
5
6
7
8
9
10
11
import module

type
  B = ref object of A

method hello(_: B) =
  echo "This is B"

var a: A
a = B()
a.hello
?