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

.hash eats Array in Rakudo #2454

Closed
p6rt opened this issue Jul 28, 2011 · 3 comments
Closed

.hash eats Array in Rakudo #2454

p6rt opened this issue Jul 28, 2011 · 3 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jul 28, 2011

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

Searchable as RT95850$

@p6rt
Copy link
Author

p6rt commented Jul 28, 2011

From @masak

<flussence> rakudo​: my @​a = a => 1, b => 2; say @​a.perl; say
@​a.hash.perl; say @​a.perl;
<p6eval> rakudo 922500​: OUTPUT«["a" => 1, "b" => 2]␤{"a" => 1, "b" => 2}␤[]␤»
<flussence> ^
<flussence> @​a.hash is eating @​a...
<pmichaud> nom​: my @​a = a => 1, b => 2; say @​a.perl; say
@​a.hash.perl; say @​a.perl;
<p6eval> nom​: OUTPUT«Array.new("a" => 1, "b" => 2)␤("a" => 1, "b" =>
2).hash␤Array.new()␤»
* masak submits the @​a.hash eats @​a bug above

@p6rt
Copy link
Author

p6rt commented Sep 29, 2011

From @moritz

This has long been fixed, and is now tested in t/spec/S02-types/array.t.

@p6rt
Copy link
Author

p6rt commented Sep 29, 2011

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

@p6rt p6rt closed this as completed Sep 29, 2011
@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