document compiler procs regarding & (#20257)
This commit is contained in:
parent
fdb781c713
commit
8fc19b9e12
3 changed files with 8 additions and 2 deletions
|
|
@ -1197,7 +1197,7 @@ proc strLoc(p: BProc; d: TLoc): Rope =
|
|||
|
||||
proc genStrConcat(p: BProc, e: PNode, d: var TLoc) =
|
||||
# <Nim code>
|
||||
# s = 'Hello ' & name & ', how do you feel?' & 'z'
|
||||
# s = "Hello " & name & ", how do you feel?" & 'z'
|
||||
#
|
||||
# <generated C code>
|
||||
# {
|
||||
|
|
@ -1240,7 +1240,7 @@ proc genStrConcat(p: BProc, e: PNode, d: var TLoc) =
|
|||
|
||||
proc genStrAppend(p: BProc, e: PNode, d: var TLoc) =
|
||||
# <Nim code>
|
||||
# s &= 'Hello ' & name & ', how do you feel?' & 'z'
|
||||
# s &= "Hello " & name & ", how do you feel?" & 'z'
|
||||
# // BUG: what if s is on the left side too?
|
||||
# <generated C code>
|
||||
# {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue