This commit is contained in:
Araq 2015-01-11 02:23:39 +01:00
commit fd10866ae3
2 changed files with 26 additions and 6 deletions

View file

@ -0,0 +1,19 @@
discard """
output: '0.0'
"""
# bug #1919
type
Base[M] = object of RootObj
a : M
Sub1[M] = object of Base[M]
b : int
Sub2[M] = object of Sub1[M]
c : int
var x: Sub2[float]
echo x.a