You also need to provide a base "default" implementation for `Foo` like so:
method showContents(b: Foo) {.base.} =
raise newException(CatchableError, "Not implemented")
Run
- How to use dynamic dispatch with inheritance without converting t... Charles
- How to use dynamic dispatch with inheritance without convert... 4n0n4me
- How to use dynamic dispatch with inheritance without con... Isofruit
