We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Migrated from rt.perl.org#129430 (status was 'resolved')
Searchable as RT129430$
The text was updated successfully, but these errors were encountered:
sub f( |c where { c } ) {}; f 42
# OUTPUT«===SORRY!=== Error while compiling <tmp>Variable '&c' is not declaredat <tmp>:1------> sub f( |c where { ⏏c } ) {}; f 42»
# expected to work analog to
sub f( *@a where { @a } ) {}; f 42
Sorry, something went wrong.
On Wed Sep 28 03:23:35 2016, gfldex wrote:
sub f( |c where { c } ) {}; f 42 # OUTPUT«===SORRY!=== Error while compiling <tmp>Variable '&c' is not declaredat <tmp>:1------> sub f( |c where { ⏏c } ) {}; f 42» # expected to work analog to sub f( *@a where { @a } ) {}; f 42
The declaration was happening a little too late. Fixed and added a test in S12-subset/subtypes.t.
/jnthn
The RT System itself - Status changed from 'new' to 'open'
@jnthn - Status changed from 'open' to 'resolved'
No branches or pull requests
Migrated from rt.perl.org#129430 (status was 'resolved')
Searchable as RT129430$
The text was updated successfully, but these errors were encountered: