3f35e2d39 ^
f91a181f5 ^
599b5d6dc ^
c156f2d49 ^
e80465dac ^
1 2
3
4 5 6
7
8 9 10 11 12 13
14
15 16 17
18 19
20
21 22 23 24 25 26 27
discard """ errormsg: "'y' is provably nil" line:25 """ import strutils {.experimental: "notnil".} type TObj = object x, y: int proc q(x: pointer not nil) = discard proc p() = var x: pointer if not x.isNil: q(x) let y = x if not y.isNil: q(y) else: q(y) p()