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

Can't have a bareword key starting with 'has-' in a hash in Rakudo #1829

Closed
p6rt opened this issue Jun 12, 2010 · 4 comments
Closed

Can't have a bareword key starting with 'has-' in a hash in Rakudo #1829

p6rt opened this issue Jun 12, 2010 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Jun 12, 2010

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

Searchable as RT75694$

@p6rt
Copy link
Author

p6rt commented Jun 12, 2010

From @masak

<masak> rakudo​: my %h = { has-b => 42 }
<p6eval> rakudo 0d0672​: OUTPUT«===SORRY!===␤Malformed has at line 11,
near "-b => 42
  }"␤»
<masak> has-b, however, shouldn't fail.
<pmichaud> correct, has-b shouldn't fail.
* masak submits rakudobug
<masak> std​: my %h = { has-b => 42 }
<p6eval> std 31197​: OUTPUT«ok 00​:01 105m␤»
<pmichaud> workaround for now would be 'has-b' => 42 :-)

@p6rt
Copy link
Author

p6rt commented Aug 11, 2010

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

@p6rt
Copy link
Author

p6rt commented Feb 23, 2011

From @zhuomingliang

test added. see Raku/roast@2633e6148b

@p6rt
Copy link
Author

p6rt commented Feb 23, 2011

@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