[Parrot] #174: can't store strings in hashes in PIRC
Parrot
parrot-tickets at lists.parrot.org
Wed Jan 14 17:28:03 UTC 2009
#174: can't store strings in hashes in PIRC
--------------------+-------------------------------------------------------
Reporter: kjs | Owner: kjs
Type: bug | Status: new
Priority: normal | Milestone:
Component: pirc | Version:
Severity: medium | Keywords: hash
Lang: | Patch:
Platform: |
--------------------+-------------------------------------------------------
Description changed by kjs:
Old description:
> generated bytecode to store strings in a hash doesn't work.
>
> {{{
> .sub main
> $P0 = new "Hash"
> $P0["hi"] = 42
> $I0 = $P0["hi"]
> print $I0
> .end
> }}}
>
> doesn't work.
> This needs fixing.
New description:
generated bytecode to store strings in a hash doesn't work.
{{{
.sub main
$P0 = new "Hash"
$P0["hi"] = "hello there"
$S0 = $P0["hi"]
print $S0 # should print 'hello there'
.end
}}}
doesn't work.
This needs fixing.
--
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/174#comment:1>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
More information about the parrot-dev
mailing list