fixes #4227
This commit is contained in:
parent
6ff66bfd51
commit
6d76df8454
5 changed files with 32 additions and 7 deletions
|
|
@ -15,7 +15,7 @@ proc semTemplateExpr(c: PContext, n: PNode, s: PSym,
|
|||
markUsed(n.info, s)
|
||||
styleCheckUse(n.info, s)
|
||||
pushInfoContext(n.info)
|
||||
result = evalTemplate(n, s, getCurrOwner())
|
||||
result = evalTemplate(n, s, getCurrOwner(), efFromHlo in flags)
|
||||
if efNoSemCheck notin flags: result = semAfterMacroCall(c, result, s, flags)
|
||||
popInfoContext()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue