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

Comma can't be last in a compilation unit in Rakudo #2980

Closed
p6rt opened this issue Nov 20, 2012 · 6 comments
Closed

Comma can't be last in a compilation unit in Rakudo #2980

p6rt opened this issue Nov 20, 2012 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Nov 20, 2012

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

Searchable as RT115842$

@p6rt
Copy link
Author

p6rt commented Nov 20, 2012

From @masak

<masak> r​: my @​ := 0,
<p6eval> rakudo bf472b​: OUTPUT«===SORRY!===␤Confused [...]
<masak> huh.
<masak> r​: my @​ := 0, ;
<p6eval> rakudo bf472b​: ( no output )
<masak> that looks like a bug to me, actually.
<masak> you can't end the file with a comma?
<masak> r​: my @​array = 1, 2, 3, ;
<p6eval> rakudo bf472b​: ( no output )
* masak submits rakudobug
<FROGGS> meh, I try to get them closed! ;o)
<masak> eval​: my @​array = 1, 2, 3,
<buubot_backup> masak​: 3
* masak thought so
<masak> r​: 1, 2, 3,
<p6eval> rakudo bf472b​: OUTPUT«===SORRY!===␤Confused [...]
<masak> r​: 0,
<p6eval> rakudo bf472b​: OUTPUT«===SORRY!===␤Confused [...]
<masak> shortest bug... ever? :)

@p6rt
Copy link
Author

p6rt commented Nov 14, 2013

From @coke

On Tue Nov 20 09​:11​:36 2012, masak wrote​:

<masak> r​: my @​ := 0,
<p6eval> rakudo bf472b​: OUTPUT«===SORRY!===␤Confused [...]
<masak> huh.
<masak> r​: my @​ := 0, ;
<p6eval> rakudo bf472b​: ( no output )
<masak> that looks like a bug to me, actually.
<masak> you can't end the file with a comma?
<masak> r​: my @​array = 1, 2, 3, ;
<p6eval> rakudo bf472b​: ( no output )
* masak submits rakudobug
<FROGGS> meh, I try to get them closed! ;o)
<masak> eval​: my @​array = 1, 2, 3,
<buubot_backup> masak​: 3
* masak thought so
<masak> r​: 1, 2, 3,
<p6eval> rakudo bf472b​: OUTPUT«===SORRY!===␤Confused [...]
<masak> r​: 0,
<p6eval> rakudo bf472b​: OUTPUT«===SORRY!===␤Confused [...]
<masak> shortest bug... ever? :)

These all work now - Closable with tests.

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Nov 14, 2013

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Oct 14, 2014

From @usev6

I added tests to S04-statements/terminator.t with the following commit​: Raku/roast@1c4c5355d9

1 similar comment
@p6rt
Copy link
Author

p6rt commented Oct 14, 2014

From @usev6

I added tests to S04-statements/terminator.t with the following commit​: Raku/roast@1c4c5355d9

@p6rt
Copy link
Author

p6rt commented Oct 14, 2014

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