This commit is contained in:
Andreas Rumpf 2020-07-23 18:21:44 +02:00
commit 18a70a7563
2 changed files with 2 additions and 3 deletions

View file

@ -59,8 +59,6 @@ proc getTemp(c: var Con; s: var Scope; typ: PType; info: TLineInfo): PNode =
s.vars.add(sym)
result = newSymNode(sym)
const sfSingleUsedTemp = sfExported # For temporaries that we know will only be used once
proc nestedScope(parent: var Scope): Scope =
Scope(vars: @[], wasMoved: @[], final: @[], needsTry: false, parent: addr(parent))