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
error message when using triple colon in variable names (my $foo:::_) #5311
Comments
From @AlexDaniel… Wait, you can use colons in variable names?… Anyway: Code: Result: Well, yes, I meant '$foo:::_'. In fact, that's exactly what I wrote. Related discussion about colons here: Raku/old-design-docs#106 |
From @zoffixznetFirst, the code in OP has a typo. The variable names are the same, but the error is wrong. But to add to the discussion on colons. It seems it's an artifact from allowing the namespace double-colons, and they should not be permitted for use the same as hyphens or apostrophes. There's a whole bunch of abuse examples in this log: http://irclog.perlgeek.de/perl6/2016-05-11#i_12461836 Especially note that my $x:foo works, but my \x:foo doesn't. |
The RT System itself - Status changed from 'new' to 'open' |
From @AlexDanielBecause I screwed up the example in the bug report, here is a proper one: Code: Result: However, let's add more wtfness to this bug report: Code: Result: |
From 1parrota@gmail.comThe appropriate error message for this would be "Really stupid On 5/10/16, Alex Jakimenko <perl6-bugs-followup@perl.org> wrote:
|
Migrated from rt.perl.org#128120 (status was 'open')
Searchable as RT128120$
The text was updated successfully, but these errors were encountered: