diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-05-01 15:44:23 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-05-02 13:34:54 +0200 |
commit | 74fe7a800b0c2ade3260b8a2f7bc72ea4fd8dc03 (patch) | |
tree | 9cace45a8f3fcfa255061a7d9ea208e58ec85f61 /tests/constructors/tinvalid_construction.nim | |
parent | 5ac94d26b3691395c40d93109d85fe29d1f14db1 (diff) | |
download | Nim-74fe7a800b0c2ade3260b8a2f7bc72ea4fd8dc03.tar.gz |
make tests green again
Diffstat (limited to 'tests/constructors/tinvalid_construction.nim')
-rw-r--r-- | tests/constructors/tinvalid_construction.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/constructors/tinvalid_construction.nim b/tests/constructors/tinvalid_construction.nim index bb3b1bebb..b3e56eec6 100644 --- a/tests/constructors/tinvalid_construction.nim +++ b/tests/constructors/tinvalid_construction.nim @@ -3,12 +3,12 @@ template accept(x) = template reject(x) = static: assert(not compiles(x)) - +{.experimental: "notnil".} type TRefObj = ref object x: int - THasNotNils = object of TObject + THasNotNils = object of RootObj a: TRefObj not nil b: TRefObj not nil c: TRefObj |