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

Implement %$h in Rakudo #1893

Closed
p6rt opened this issue Jul 1, 2010 · 5 comments
Closed

Implement %$h in Rakudo #1893

p6rt opened this issue Jul 1, 2010 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Jul 1, 2010

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

Searchable as RT76320$

@p6rt
Copy link
Author

p6rt commented Jul 1, 2010

From @masak

<masak> std​: my $h = {}; say (%$h).keys
<p6eval> std 31522​: OUTPUT«ok 00​:01 114m␤»
<masak> rakudo​: my $h = {}; say (%$h).keys
<p6eval> rakudo 3d2cb8​: OUTPUT«===SORRY!===␤Unable to parse
postcircumfix​:sym<( )>, couldn't find final ')' at line 11␤»
* masak submits rakudobug
<masak> rakudo​: my $h = {}; %$h
<p6eval> rakudo 3d2cb8​: OUTPUT«===SORRY!===␤Confused at line 11, near "%$h"␤»

@p6rt
Copy link
Author

p6rt commented Jul 29, 2010

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

@p6rt
Copy link
Author

p6rt commented Apr 20, 2012

From @jnthn

On Thu Jul 01 05​:43​:41 2010, masak wrote​:

<masak> std​: my $h = {}; say (%$h).keys
<p6eval> std 31522​: OUTPUT«ok 00​:01 114m␤»
<masak> rakudo​: my $h = {}; say (%$h).keys
<p6eval> rakudo 3d2cb8​: OUTPUT«===SORRY!===␤Unable to parse
postcircumfix​:sym<( )>, couldn't find final ')' at line 11␤»
* masak submits rakudobug
<masak> rakudo​: my $h = {}; %$h
<p6eval> rakudo 3d2cb8​: OUTPUT«===SORRY!===␤Confused at line 11, near
"%$h"␤»

Now works​:

my $h = {}; say (%$h).keys

my $h = {a => 1}; say (%$h).keys
a

Don't see any tests for this, so tagging testneeded.

/jnthn

@p6rt
Copy link
Author

p6rt commented Apr 22, 2012

From @moritz

now tested in S03-operators/context.t

@p6rt
Copy link
Author

p6rt commented Apr 22, 2012

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant