Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected result when doing .kv from within the List class in Rakudo #1428

Closed
p6rt opened this issue Dec 7, 2009 · 5 comments
Closed

Unexpected result when doing .kv from within the List class in Rakudo #1428

p6rt opened this issue Dec 7, 2009 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Dec 7, 2009

Migrated from rt.perl.org#71086 (status was 'resolved')

Searchable as RT71086$

@p6rt
Copy link
Author

p6rt commented Dec 7, 2009

From @masak

<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.

@p6rt
Copy link
Author

p6rt commented Mar 9, 2010

@moritz - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Mar 9, 2010

From @moritz

Now works (with 'augment class Parcel').

@p6rt
Copy link
Author

p6rt commented Apr 2, 2010

From @moritz

Now works, and tested in t/spec/S32-array/kv.t.

@p6rt
Copy link
Author

p6rt commented Apr 2, 2010

@moritz - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Apr 2, 2010
@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant