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
Mention context when suspecting runaway quotes (say "foo'; my $x = 42;) #6551
Comments
From @jonathanstoweperl6 -e 'my $a = "jsjsjs {"; for <a b> -> $b { say $b }' Obviously it is fine if the '{' is backslashed. Similarly: <ilmari> m: my $a = "{ 42"; for <a b> -> $b { say $b } # also LTA error This is perl6 version 2015.10-169-gfd3927d built on MoarVM version 2015.10-51-ga362d21 |
From @AlexDanielCode: Result: The error message is of course very confusing. I think that any “not declared” error message that happen within interpolating quotes should say something like: Variable '$x' is not declared (in double quotes started at line 1) I think this would give enough clues to figure out the actual problem. Related, but different ticket: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=130261 |
From @AlexDanielOh. That's actually related to this ticket: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=132168 I'll merge it because both tickets are asking for the same problem to be resolved. On 2015-11-09 05:03:59, jns+bc@gellyfish.co.uk wrote:
|
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#132168 (status was 'new')
Searchable as RT132168$
The text was updated successfully, but these errors were encountered: