Following on this issue: https://github.com/nim-lang/Nim/issues/3550
It seems to me that this should to be the solution since their common ancestor doesn't have 'dummy_method'. But this doesn't work either! error: main_module.nim(18, 8) Error: method is not a base
type
BaseEvent* = object of RootObj
data:pointer
Control* = object of RootObj
state: bool
Button* = object of Control
is_clicked : bool
Dialog* = object of Control
content: seq[RootObj]
method dummy_event*(self: Button, ev: BaseEvent) : bool {.base.} =
discard
method dummy_event*(self: Dialog, ev: BaseEvent) : bool {.base.} =
discard