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

$pair.Capture returns an empty Capture in Rakudo #2230

Closed
p6rt opened this issue Oct 21, 2010 · 3 comments
Closed

$pair.Capture returns an empty Capture in Rakudo #2230

p6rt opened this issue Oct 21, 2010 · 3 comments

Comments

@p6rt
Copy link

p6rt commented Oct 21, 2010

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

Searchable as RT78496$

@p6rt
Copy link
Author

p6rt commented Oct 21, 2010

From @masak

<masak> rakudo​: my $pair = "OH HAI" => 42; my (Pair (​:$key, :$value))
:= $pair; .say for $key, $value
<p6eval> rakudo d35769​: OUTPUT«Mu()␤Mu()␤»
<masak> better, though.
<moritz_> I think the Capturification of Pair is broken
<jnthn> rakudo​: my $pair = "OH HAI" => 42; say $pair.Capture.perl
<p6eval> rakudo d35769​: OUTPUT«\()␤»
<moritz_> right
<jnthn> Yeah
<jnthn> That's the real issue.
<jnthn> It woulda worked if that had.
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Oct 3, 2011

From @moritz

Works now, and tested in t/spec/S02-types/capture.t.

@p6rt
Copy link
Author

p6rt commented Oct 3, 2011

@moritz - Status changed from 'new' 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