From b7bffa35c70eb1a55fe9e35307ba4e99e48abe69 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Wed, 19 Apr 2017 08:40:05 +0200 Subject: [PATCH] attempt to make sighashes produce smaller diffs --- compiler/lowerings.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/lowerings.nim b/compiler/lowerings.nim index 245cc5f613..3a03252fd5 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