Ticket #11 (closed bug: fixed)
issame fails for String PMC argument
| Reported by: | pmichaud | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | core | Version: | trunk |
| Severity: | low | Keywords: | |
| Cc: | Language: | ||
| Patch status: | Platform: |
Description
The issame opcode fails when comparing a String PMC with PMCNULL:
$ cat x.pir
.sub main
$P0 = new 'String'
assign $P0, 'foo'
null $P1
$I0 = issame $P0, $P1
say $I0
.end
$ ./parrot x.pir
Null PMC access in get_string()
current instr.: 'main' pc 8 (x.pir:6)
$
Change History
Note: See
TracTickets for help on using
tickets.
