diff options
Diffstat (limited to 'compiler/lowerings.nim')
-rw-r--r-- | compiler/lowerings.nim | 2 |
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 |