remove sfFakeConst

This commit is contained in:
Jacek Sieka 2016-07-30 16:19:53 +08:00
commit 7d62f031f6
5 changed files with 4 additions and 16 deletions

View file

@ -648,7 +648,7 @@ proc getConstExpr(m: PSym, n: PNode): PNode =
if isDefined(s.name):
result = newStrNodeT(lookupSymbol(s.name), n)
else:
if sfFakeConst notin s.flags: result = copyTree(s.ast)
result = copyTree(s.ast)
of {skProc, skMethod}:
result = n
of skType: