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
no-args function call broken for some names #4870
Comments
From zefram@fysh.orgNormally a sub that accepts an empty argument list can be called with
But this doesn't work if the sub has one of 35 magic names:
This is not an intrinsic feature of the sub; it's tied to the name used
The cause of this behaviour is some magic in Perl6/Grammar.nqp that
This magic should not be triggered by the name. It should be triggered -zefram |
From 1parrota@gmail.comIf someone is using the name of language features for subroutines, |
The RT System itself - Status changed from 'new' to 'open' |
From zefram@fysh.orgParrot Raiser via RT wrote:
Or that they do know about the name scoping features. -zefram |
Migrated from rt.perl.org#126909 (status was 'open')
Searchable as RT126909$
The text was updated successfully, but these errors were encountered: