a690e7b26 ^
f73938218 ^
e80465dac ^
1 2 3
4
5 6 7 8 9 10 11 12 13
14
15 16 17
discard """ line: 12 errormsg: "instantiate 'notConcrete' explicitly" disabled: "true" """ proc wrap[T]() = proc notConcrete[T](x, y: int): int = var dummy: T result = x - y var x: proc (x, y: T): int x = notConcrete wrap[int]()