varargs example erroneously transformed "abc" to "def" (#19781)
This commit is contained in:
parent
b2b878f4d6
commit
85bc8326ac
1 changed files with 1 additions and 1 deletions
|
|
@ -1556,7 +1556,7 @@ type conversions in this context:
|
|||
|
||||
myWriteln(stdout, 123, "abc", 4.0)
|
||||
# is transformed to:
|
||||
myWriteln(stdout, [$123, $"def", $4.0])
|
||||
myWriteln(stdout, [$123, $"abc", $4.0])
|
||||
|
||||
In this example `$` is applied to any argument that is passed to the
|
||||
parameter `a`. (Note that `$` applied to strings is a nop.)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue