From 2a3455259618723b9a748b16e2fccf2a06b0c9cb Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Sun, 30 Apr 2017 22:28:20 +0300 Subject: [PATCH] fix 5756 --- compiler/ccgexprs.nim | 2 +- tests/generics/tgenericconst.nim | 39 ++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 tests/generics/tgenericconst.nim diff --git a/compiler/ccgexprs.nim b/compiler/ccgexprs.nim index f981f9595c..f2c6f076c2 100644 --- a/compiler/ccgexprs.nim +++ b/compiler/ccgexprs.nim @@ -2203,7 +2203,7 @@ proc getNullValueAux(p: BProc; obj, cons: PNode, result: var Rope) = let field = obj.sym for i in 1..