Skip Menu |
Report information
Id: 122980
Status: resolved
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: masak <cmasak [at] gmail.com>
Cc:
AdminCc:

Severity: (no value)
Tag: testneeded
Platform: (no value)
Patch Status: (no value)
VM: (no value)



To: rakudobug [...] perl.org
Date: Wed, 15 Oct 2014 14:38:18 +0200
From: Carl Mäsak <cmasak [...] gmail.com>
Subject: [BUG] LTA error message on fairly strange input, complaining about the lack of a semicolon when the semicolon's right there in Rakudo
Download (untitled) / with headers
text/plain 771b
<[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.
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 305b
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
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 https://github.com/rakudo/rakudo/commit/5747bc7121ba68bea210d1a75bb0e197377b287c

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:
Show quoted text
> 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


Tests were added in this PR: https://github.com/rakudo/rakudo/pull/1715

Closing

On 2017-12-02 04:17:46, alex.jakimenko@gmail.com wrote:
Show quoted text
> 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
> https://github.com/rakudo/rakudo/commit/5747bc7121ba68bea210d1a75bb0e197377b287c
>
> 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




This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org