refactoring: removed dead code (#18567)
This commit is contained in:
parent
cc0f02d57d
commit
f4ff276a90
4 changed files with 11 additions and 17 deletions
|
|
@ -512,7 +512,7 @@ proc semVarOrLet(c: PContext, n: PNode, symkind: TSymKind): PNode =
|
|||
|
||||
var def: PNode = c.graph.emptyNode
|
||||
if a[^1].kind != nkEmpty:
|
||||
def = semExprWithType(c, a[^1], {efAllowDestructor})
|
||||
def = semExprWithType(c, a[^1], {})
|
||||
|
||||
if def.kind == nkSym and def.sym.kind in {skTemplate, skMacro}:
|
||||
typFlags.incl taIsTemplateOrMacro
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue