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
Confusion when using $_ as default #3651
Comments
From @lizmat[11:17:08] <jnthn> And here's a nice bug: |
From @usev6$ perl6-m -e 'sub a($a = CALLER::CALLER::<$_>) { say $a }; $_ = "foo"; a' $ perl6-m -e 'sub foo($a = CALLER::CALLER::<$_>) { say $a }; given 42 { foo(1); foo() }' The ticket number is mentioned in S06-signature/caller-param.t. The following comment was added with commit 66a1ea8cb1: # These tests all work when using CALLER::CALLER but we should |
1 similar comment
From @usev6$ perl6-m -e 'sub a($a = CALLER::CALLER::<$_>) { say $a }; $_ = "foo"; a' $ perl6-m -e 'sub foo($a = CALLER::CALLER::<$_>) { say $a }; given 42 { foo(1); foo() }' The ticket number is mentioned in S06-signature/caller-param.t. The following comment was added with commit 66a1ea8cb1: # These tests all work when using CALLER::CALLER but we should |
From @cokeOn Mon Sep 14 13:04:25 2015, bartolin@gmx.de wrote:
Ok. given that the original examples pass, and there are tests, closing ticket. -- |
The RT System itself - Status changed from 'new' to 'open' |
@coke - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#123660 (status was 'resolved')
Searchable as RT123660$
The text was updated successfully, but these errors were encountered: