diff options
author | Araq <rumpf_a@web.de> | 2018-08-22 15:12:02 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-08-22 15:12:02 +0200 |
commit | dbd21d670c754501e1c14c758e09c9fce3ad01d5 (patch) | |
tree | 0adc7fbb281a4c79163f840353c153fbd42405a2 /tests/gc/gctest.nim | |
parent | 7896903fd09ee5c855112660179b6f4ec57a1977 (diff) | |
download | Nim-dbd21d670c754501e1c14c758e09c9fce3ad01d5.tar.gz |
make more things compile without isNil
Diffstat (limited to 'tests/gc/gctest.nim')
-rw-r--r-- | tests/gc/gctest.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/gc/gctest.nim b/tests/gc/gctest.nim index 7f5260200..25d57ff0e 100644 --- a/tests/gc/gctest.nim +++ b/tests/gc/gctest.nim @@ -66,8 +66,7 @@ proc caseTree(lvl: int = 0): PCaseNode = proc finalizeNode(n: PNode) = assert(n != nil) write(stdout, "finalizing: ") - if isNil(n.data): writeLine(stdout, "nil!") - else: writeLine(stdout, "not nil") + writeLine(stdout, "not nil") var id: int = 1 |