summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-04-19 08:40:05 +0200
committerAndreas Rumpf <rumpf_a@web.de>2017-04-19 08:40:05 +0200
commitb7bffa35c70eb1a55fe9e35307ba4e99e48abe69 (patch)
tree237fe83738c72e8e3ad8f69e9576f61d7ce6b672
parent43dae68a421a92f2003df7c92fa8679df71823d5 (diff)
downloadNim-b7bffa35c70eb1a55fe9e35307ba4e99e48abe69.tar.gz
attempt to make sighashes produce smaller diffs
-rw-r--r--compiler/lowerings.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/lowerings.nim b/compiler/lowerings.nim
index 245cc5f61..3a03252fd 100644
--- a/compiler/lowerings.nim
+++ b/compiler/lowerings.nim
@@ -115,7 +115,7 @@ proc createObj*(owner: PSym, info: TLineInfo): PType =
   incl result.flags, tfFinal
   result.n = newNodeI(nkRecList, info)
   when true:
-    let s = newSym(skType, getIdent("Env_" & info.toFilename & "_" & $info.line),
+    let s = newSym(skType, getIdent("Env_" & info.toFilename),
                    owner, info)
     incl s.flags, sfAnon
     s.typ = result