Ticket #1482 (closed bug: fixed)
index op failure
| Reported by: | pmichaud | Owned by: | coke |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | core | Version: | 2.1.0 |
| Severity: | medium | Keywords: | |
| Cc: | Language: | ||
| Patch status: | Platform: |
Description
The index op seems to fail when certain unicode strings are used:
$ cat z.pir
.sub 'main' :main
$S0 = unicode:"bubuc"
$S1 = unicode:"buc"
$I0 = index $S0, $S1, 0
say $I0
.end
$ ./parrot z.pir
-1
$
Removing the "unicode:" from $S1 one above also produces the same (incorrect) result.
Pm
Change History
Note: See
TracTickets for help on using
tickets.
