This commit is contained in:
Araq 2019-02-19 16:22:09 +01:00
commit f31d1fa98b
2 changed files with 46 additions and 35 deletions

View file

@ -37,3 +37,8 @@ f(m)
var a: TYourObj = m
var b: TMyObj = a
# bug #10195
type
InheritableFoo {.inheritable.} = ref object
InheritableBar = ref object of InheritableFoo # ERROR.