Fix expression override issue
This commit is contained in:
parent
894193eb43
commit
ecee58342e
1 changed files with 1 additions and 1 deletions
|
|
@ -657,7 +657,7 @@ proc getNimExpression*(nimState: NimState, expr: string, name = ""): string =
|
|||
if ident.nBl:
|
||||
# Issue #178
|
||||
if ident != "_":
|
||||
ident = nimState.getIdentifier(ident, nskConst)
|
||||
ident = nimState.getIdentifier(ident, nskConst, name)
|
||||
if name.nBl and ident in nimState.constIdentifiers:
|
||||
ident = ident & "." & name
|
||||
result &= ident
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue