a6006e56a ^
e40ff24c2 ^
ef6eda4cb ^
1 2
3
4
5
6 7 8 9 10 11 12 13 14
discard """ errormsg: "cannot instantiate B" nimout: ''' got: <typedesc[int]> but expected: <T: string or float> ''' """ type B[T: string|float] = object child: ref B[T] var b: B[int]