From 16e8005031cdc017405ea0c85ddd03c7adf0cef0 Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Fri, 9 Oct 2020 02:28:21 -0700 Subject: [PATCH] fix gitignore for testament cruft (#15530) * fix gitignore for testament cruft * fix rendertree => renderTree --- .gitignore | 2 ++ compiler/ccgexprs.nim | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a4577c0d06..e55f2c5f06 100644 --- a/.gitignore +++ b/.gitignore @@ -83,6 +83,8 @@ megatest.nim /outputExpected.txt /outputGotten.txt +/t15148.txt +/tests/vm/tfile_rw.txt /lib/pure/*.js diff --git a/compiler/ccgexprs.nim b/compiler/ccgexprs.nim index 364bcc1432..c1469fa60b 100644 --- a/compiler/ccgexprs.nim +++ b/compiler/ccgexprs.nim @@ -1410,7 +1410,7 @@ proc handleConstExpr(p: BProc, n: PNode, d: var TLoc): bool = result = false proc genObjConstr(p: BProc, e: PNode, d: var TLoc) = - #echo rendertree e, " ", e.isDeepConstExpr + #echo renderTree e, " ", e.isDeepConstExpr # inheritance in C++ does not allow struct initialization so # we skip this step here: if not p.module.compileToCpp and optSeqDestructors notin p.config.globalOptions: