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:
|
if ident.nBl:
|
||||||
# Issue #178
|
# Issue #178
|
||||||
if ident != "_":
|
if ident != "_":
|
||||||
ident = nimState.getIdentifier(ident, nskConst)
|
ident = nimState.getIdentifier(ident, nskConst, name)
|
||||||
if name.nBl and ident in nimState.constIdentifiers:
|
if name.nBl and ident in nimState.constIdentifiers:
|
||||||
ident = ident & "." & name
|
ident = ident & "." & name
|
||||||
result &= ident
|
result &= ident
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue