This commit is contained in:
Araq
2019-02-19 16:22:09 +01:00
parent 51f516e030
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.