Skip Menu |
 
Report information
Id: 71086
Status: resolved
Priority: 0/
Queue: perl6

Owner: moritz <moritz [at] faui2k3.org>
Requestors: masak <cmasak [at] gmail.com>
Cc:
AdminCc:

Severity: (no value)
Tag: Bug
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: [BUG] Unexpected result when doing .kv from within the List class in Rakudo
Date: Mon, 7 Dec 2009 07:24:50 +0100
To: rakudobug [...] perl.org
From: Carl Mäsak <cmasak [...] gmail.com>
Download (untitled) / with headers
text/plain 350b
<masak> rakudo: for <a b c>.kv { .say } <p6eval> rakudo 7ef386: 0␤a␤1␤b␤2␤c␤ <masak> rakudo: class List is also { method d { for self.kv { .say } } }; <a b c>.d <p6eval> rakudo 7ef386: 0a␤1b␤2c␤ * masak submits rakudobug I'd expect those two lines of code to yield the same results. Either my expectations are wrong, or Rakudo is.
Now works (with 'augment class Parcel').
Now works, and tested in t/spec/S32-array/kv.t.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org