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

Parsefail when semicolon missing from statement class declaration in Rakudo #1618

Closed
p6rt opened this issue Mar 22, 2010 · 4 comments
Closed
Labels

Comments

@p6rt
Copy link

p6rt commented Mar 22, 2010

Migrated from rt.perl.org#73742 (status was 'rejected')

Searchable as RT73742$

@p6rt
Copy link
Author

p6rt commented Mar 22, 2010

From @masak

<moritz_> rakudo​: class JSON​::Tiny​::Actions
<p6eval> rakudo 35f337​: OUTPUT«Malformed package declaration [...]
<moritz_> rakudo​: class JSON​::Tiny​::Actions;
<p6eval> rakudo 35f337​: ( no output )
<moritz_> std​: class JSON​::Tiny​::Actions
<p6eval> std 30169​: OUTPUT«ok 00​:01 105m␤»
<moritz_> another semicolon parsing bug
* masak submits it too

@p6rt
Copy link
Author

p6rt commented Aug 18, 2010

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

@p6rt
Copy link
Author

p6rt commented Nov 15, 2013

From @coke

On Mon Mar 22 07​:35​:24 2010, masak wrote​:

<moritz_> rakudo​: class JSON​::Tiny​::Actions
<p6eval> rakudo 35f337​: OUTPUT«Malformed package declaration [...]
<moritz_> rakudo​: class JSON​::Tiny​::Actions;
<p6eval> rakudo 35f337​: ( no output )
<moritz_> std​: class JSON​::Tiny​::Actions
<p6eval> std 30169​: OUTPUT«ok 00​:01 105m␤»
<moritz_> another semicolon parsing bug
* masak submits it too

Std no longer likes this syntax, and agrees with rakudo​:

02​:14 < [Coke]> std​: class JSON​::Tiny​::Actions
02​:14 <+camelia> std b469b42​: OUTPUT«===SORRY!===␤Unable to parse class
  definition at /tmp/ZK9nN7HKi4 line 1 (EOF)​:␤------> class
  JSON​::Tiny​::Actions⏏<EOL>␤Parse failed␤FAILED 00​:00 120m␤»

02​:13 < [Coke]> r​: class JSON​::Tiny​::Actions
02​:13 <+camelia> rakudo-jvm 9f0609​: OUTPUT«===SORRY!=== Error while compiling
  /tmp/qezjjXiJDi␤Unable to parse class definition␤at
  /tmp/qezjjXiJDi​:1␤------> class JSON​::Tiny​::Actions⏏<EOL>␤
  expecting any of​:␤ statement list␤ prefix o…»
02​:13 <+camelia> ..rakudo-parrot 9f0609​: OUTPUT«===SORRY!=== Error while
  compiling /tmp/Rmh32js3I8␤Unable to parse class definition␤at
  /tmp/Rmh32js3I8​:1␤------> class JSON​::Tiny​::Actions⏏<EOL>␤
  expecting any of​:␤ statement list␤ prefi…»

Rejecting ticket.
--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Nov 15, 2013

@coke - Status changed from 'open' to 'rejected'

@p6rt p6rt closed this as completed Nov 15, 2013
@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant