#1482: index op failure
----------------------+-----------------------------------------------------
Reporter: pmichaud | Owner:
Type: bug | Status: new
Priority: major | Milestone:
Component: core | Version: 2.1.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
----------------------+-----------------------------------------------------
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
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1482>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets