From acaf2b8e76e1c3e1a63228bed535b33aa20b0f1d Mon Sep 17 00:00:00 2001 From: Andrii Riabushenko Date: Sun, 16 Sep 2018 21:33:21 +0100 Subject: [PATCH] Fixes 8979 --- compiler/cgen.nim | 2 +- tests/ccgbugs/tcodegenbug1.nim | 35 +++++++++++++++++++++++++++++++++- 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/compiler/cgen.nim b/compiler/cgen.nim index dea8b1e8af..c716c33915 100644 --- a/compiler/cgen.nim +++ b/compiler/cgen.nim @@ -705,7 +705,7 @@ proc containsResult(n: PNode): bool = for i in 0..