diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-05-01 10:48:46 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-05-02 13:34:53 +0200 |
commit | 599b5d6dcbd8b73d98d1aaf2de94d3360229a699 (patch) | |
tree | 16dd2abe40bb595864a330dad860b91c6b26da6d /tests/notnil/tnotnil4.nim | |
parent | cc0ca43743f286d93c0e4b7adddecd7bb3e83e46 (diff) | |
download | Nim-599b5d6dcbd8b73d98d1aaf2de94d3360229a699.tar.gz |
make 'not nil' experimental
Diffstat (limited to 'tests/notnil/tnotnil4.nim')
-rw-r--r-- | tests/notnil/tnotnil4.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/notnil/tnotnil4.nim b/tests/notnil/tnotnil4.nim index 2fa888357..4fd169827 100644 --- a/tests/notnil/tnotnil4.nim +++ b/tests/notnil/tnotnil4.nim @@ -2,6 +2,8 @@ discard "" type TObj = ref object +{.experimental: "notnil".} + proc check(a: TObj not nil) = echo repr(a) |