mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-28 10:13:56 +00:00
fixes #10195
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user