Merge branch 'devel' of github.com:nim-lang/Nim into devel
This commit is contained in:
commit
4b76d9846b
7 changed files with 88 additions and 20 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue