Closed
Description
Description
type
MyType = ref object of RootObj
MyChild[T] = ref object of MyType
var curr = MyChild[int]()
assert not(curr of MyChild[float])
Nim Version
1.0.0 - 2.0.0
Current Output
An assertion defect
Expected Output
Code to run to completion.
Possible Solution
No response
Additional Information
No response