Ticket #730 (closed bug: fixed)
[bug] IMCC chokes on unicode strings as method call names
| Reported by: | pmichaud | Owned by: | chromatic |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | imcc | Version: | 1.2.0 |
| Severity: | medium | Keywords: | |
| Cc: | Language: | perl6 | |
| Patch status: | Platform: |
Description
IMCC doesn't appear to accept unicode strings as method call names. Here's an example:
$ cat x.pir
.sub 'main' :main
$P0 = newclass 'Foo'
$P1 = new $P0
$S0 = unicode:"foo\x{b1}"
$P1.$S0()
$P1.unicode:"foo\x{b1}"()
.end
.namespace ['Foo']
.sub unicode:"foo\x{b1}" :method
say "ok"
.end
$ ./parrot x.pir
error:imcc:syntax error, unexpected USTRINGC ('unicode:"foo\x{b1}"')
in file 'x.pir' line 6
$
As with TT #575 and #654, it's possible that all that is needed here is an update to IMCC.
This fix is needed for unicode method calls in Rakudo.
Pm
Change History
Note: See
TracTickets for help on using
tickets.
