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

LTA error message on fairly strange input, complaining about the lack of a semicolon when the semicolon's right there in Rakudo #3553

Closed
p6rt opened this issue Oct 15, 2014 · 7 comments

Comments

@p6rt
Copy link

p6rt commented Oct 15, 2014

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

Searchable as RT122980$

@p6rt
Copy link
Author

p6rt commented Oct 15, 2014

From @masak

<[Coke]> m​: Int​:erator​:$;
<camelia> rakudo-moar 8b3e8c​: OUTPUT«===SORRY!=== Error while
compiling /tmp/uszt7h4uQW␤Missing semicolon.␤at [...]------>
Int​:erator​:$⏏;␤ expecting any of​:␤ colon pair␤»
<[Coke]> ah, there we go. What do you mean, no semicolon?
<masak> that is an odd message, yes.
<masak> the semicolon is, like, "I'm right here!"
* masak submits LTA rakudobug
<[Coke]> inspired by jnthn's css​:tiny talk, no really.
<jnthn> std​: Int​:erator​:$;
<camelia> std bd22b5c​: OUTPUT«===SORRY!===␤Confused at [...]------>
Int​:erator​:$⏏;␤ expecting signature␤Undeclared name​:␤
'Int​:erator' used at line 1␤Parse failed␤FAILED 00​:01 140m␤»

STD's stance on this seems more appropriate than complaining about a
missing semicolon.

@p6rt
Copy link
Author

p6rt commented Mar 11, 2015

From @usev6

Rakudo no longer complains about a missing semicolon, but fails with X​::Syntax​::Confused.

The error message differs from what STD complained about, though​:

$ perl6 -e 'Int​:erator​:$;'
===SORRY!=== Error while compiling -e
Confused
at -e​:1
------> Int​:erator​:$⏏;
  expecting any of​:
  colon pair

1 similar comment
@p6rt
Copy link
Author

p6rt commented Mar 11, 2015

From @usev6

Rakudo no longer complains about a missing semicolon, but fails with X​::Syntax​::Confused.

The error message differs from what STD complained about, though​:

$ perl6 -e 'Int​:erator​:$;'
===SORRY!=== Error while compiling -e
Confused
at -e​:1
------> Int​:erator​:$⏏;
  expecting any of​:
  colon pair

@p6rt
Copy link
Author

p6rt commented Mar 11, 2015

@usev6 - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Dec 2, 2017

From @AlexDaniel

Not quite sure what to do with this ticket.

The output varies across releases​: https://gist.github.com/Whateverable/54e87afdbb2d88d2a959527b255681af

So at some point it started complaining about “Invalid type smiley 'erator'”, and so it's no longer possible to reproduce the original issue. I tried some other things but I can't get it to print something similar.

In any case, there are these two tickets RT#​125596 RT#​125674 which were resolved in rakudo/rakudo@5747bc7

I think the original problem should no longer be there.

Marking as 「testneeded」, maybe someone will come up with a way to reproduce it when writing tests.

On 2015-03-11 07​:50​:45, bartolin@​gmx.de wrote​:

Rakudo no longer complains about a missing semicolon, but fails with
X​::Syntax​::Confused.

The error message differs from what STD complained about, though​:

$ perl6 -e 'Int​:erator​:$;'
===SORRY!=== Error while compiling -e
Confused
at -e​:1
------> Int​:erator​:$⏏;
expecting any of​:
colon pair

@p6rt
Copy link
Author

p6rt commented Apr 9, 2018

From @AlexDaniel

Tests were added in this PR​: rakudo/rakudo#1715

Closing

On 2017-12-02 04​:17​:46, alex.jakimenko@​gmail.com wrote​:

Not quite sure what to do with this ticket.

The output varies across releases​:
https://gist.github.com/Whateverable/54e87afdbb2d88d2a959527b255681af

So at some point it started complaining about “Invalid type smiley
'erator'”,
and so it's no longer possible to reproduce the original issue. I
tried some
other things but I can't get it to print something similar.

In any case, there are these two tickets RT#​125596 RT#​125674 which
were
resolved in
rakudo/rakudo@5747bc7

I think the original problem should no longer be there.

Marking as 「testneeded」, maybe someone will come up with a way to
reproduce it
when writing tests.

On 2015-03-11 07​:50​:45, bartolin@​gmx.de wrote​:

Rakudo no longer complains about a missing semicolon, but fails with
X​::Syntax​::Confused.

The error message differs from what STD complained about, though​:

$ perl6 -e 'Int​:erator​:$;'
===SORRY!=== Error while compiling -e
Confused
at -e​:1
------> Int​:erator​:$⏏;
expecting any of​:
colon pair

@p6rt p6rt closed this as completed Apr 9, 2018
@p6rt
Copy link
Author

p6rt commented Apr 9, 2018

@AlexDaniel - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant