fixes a minor codegen issue where name mangling could produce an identifier used by the codegen; refs #5437
This commit is contained in:
parent
fb37d13f46
commit
4c5ecb46b0
4 changed files with 10 additions and 10 deletions
|
|
@ -109,7 +109,7 @@ proc openArrayLoc(p: BProc, n: PNode): Rope =
|
|||
initLocExpr(p, n, a)
|
||||
case skipTypes(a.t, abstractVar).kind
|
||||
of tyOpenArray, tyVarargs:
|
||||
result = "$1, $1Len0" % [rdLoc(a)]
|
||||
result = "$1, $1Len_0" % [rdLoc(a)]
|
||||
of tyString, tySequence:
|
||||
if skipTypes(n.typ, abstractInst).kind == tyVar and
|
||||
not compileToCpp(p.module):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue