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

s/// and “Corresponding … was at line” #6582

Open
p6rt opened this issue Oct 7, 2017 · 1 comment
Open

s/// and “Corresponding … was at line” #6582

p6rt opened this issue Oct 7, 2017 · 1 comment
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#132240 (status was 'new')

Searchable as RT132240$

@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.

perl6 -e 's/a/

'
===SORRY!=== Error while compiling -e
Malformed replacement part; couldn't find final /
at -e​:4
------> <BOL>�<EOL>
  expecting any of​:
  infix stopper

The error message should print �Corresponding '/' was at line 1�. Also, please remove �expecting any of� section.

Relevant code​: https://github.com/rakudo/rakudo/blob/f62ae60c48d1372df18b49aca44e10af44ead2d6/src/Perl6/Grammar.nqp#L3780-L3792

@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