Skip to content
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

$<> and “Corresponding … was at line” #6580

Closed
p6rt opened this issue Oct 7, 2017 · 3 comments
Closed

$<> and “Corresponding … was at line” #6580

p6rt opened this issue Oct 7, 2017 · 3 comments
Labels
LTA Less Than Awesome; typically an error message that could be better

Comments

@p6rt
Copy link

p6rt commented Oct 7, 2017

Migrated from rt.perl.org#132238 (status was 'resolved')

Searchable as RT132238$

@p6rt
Copy link
Author

p6rt commented Oct 7, 2017

From @AlexDaniel

See https://rt-archive.perl.org/perl6/Ticket/Display.html?id=125641 for the history of this problem.

The issue was mostly resolved in rakudo/rakudo@279bae0

However, it still prints �expecting any of� that to me does not do anything useful.

perl6 -e 'say $<

'
===SORRY!=== Error while compiling -e
Unable to parse quote-words subscript; couldn't find '>' (corresponding '<' was at line 1)
at -e​:3
------> <BOL>�<EOL>
  expecting any of​:
  argument list
  term

When writing tests for this, also test that the actual line number is printed.

@p6rt
Copy link
Author

p6rt commented Apr 8, 2018

From @zoffixznet

On Sat, 07 Oct 2017 10​:29​:38 -0700, alex.jakimenko@​gmail.com wrote​:

See https://rt-archive.perl.org/perl6/Ticket/Display.html?id=125641 for the history
of this problem.

The issue was mostly resolved in
rakudo/rakudo@279bae0

However, it still prints �expecting any of� that to me does not do
anything useful.

perl6 -e 'say $<

'
===SORRY!=== Error while compiling -e
Unable to parse quote-words subscript; couldn't find '>'
(corresponding '<' was at line 1)
at -e​:3
------> <BOL>�<EOL>
expecting any of​:
argument list
term

When writing tests for this, also test that the actual line number is
printed.

Tests​: rakudo/rakudo#1706

@p6rt
Copy link
Author

p6rt commented Apr 8, 2018

@zoffixznet - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed Apr 8, 2018
@p6rt p6rt added the LTA Less Than Awesome; typically an error message that could be better label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTA Less Than Awesome; typically an error message that could be better
Projects
None yet
Development

No branches or pull requests

1 participant