fix gitignore for testament cruft (#15530)

* fix gitignore for testament cruft

* fix rendertree => renderTree
This commit is contained in:
Timothee Cour
2020-10-09 02:28:21 -07:00
committed by GitHub
parent 8fb57d7451
commit 16e8005031
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View File

@@ -83,6 +83,8 @@ megatest.nim
/outputExpected.txt
/outputGotten.txt
/t15148.txt
/tests/vm/tfile_rw.txt
/lib/pure/*.js

View File

@@ -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: