make 'not nil' experimental

This commit is contained in:
Andreas Rumpf 2018-05-01 10:48:46 +02:00 • committed by Araq
commit 599b5d6dcb
14 changed files with 27 additions and 16 deletions

View file

@ -2,6 +2,8 @@ discard ""
type
TObj = ref object
{.experimental: "notnil".}
proc check(a: TObj not nil) =
echo repr(a)