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 on two terms in a row (TTIAR) in Rakudo #2255

Closed
p6rt opened this issue Nov 13, 2010 · 5 comments
Closed

LTA error on two terms in a row (TTIAR) in Rakudo #2255

p6rt opened this issue Nov 13, 2010 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Nov 13, 2010

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

Searchable as RT79162$

@p6rt
Copy link
Author

p6rt commented Nov 13, 2010

From @masak

<masak> std​: sub foo { ['a', 'b' 'c'] }
<p6eval> std a194beb​: OUTPUT«�[31m===�[0mSORRY!�[31m===�[0m␤Two terms
in a row [...] Parse failed␤FAILED 00​:01 121m␤»
<masak> rakudo​: sub foo { ['a', 'b' 'c'] }
<p6eval> rakudo c548b8​: OUTPUT«===SORRY!===␤Unable to parse blockoid,
couldn't find final '}' at line 22␤»
* masak submits LTA rakudobug

I like STD.pm6's error message. I find Rakudo's to be confusing.

@p6rt
Copy link
Author

p6rt commented Oct 10, 2012

From @coke

On Sat Nov 13 09​:00​:39 2010, masak wrote​:

<masak> std​: sub foo { ['a', 'b' 'c'] }
<p6eval> std a194beb​: OUTPUT«�[31m===�[0mSORRY!�[31m===�[0m␤Two terms
in a row [...] Parse failed␤FAILED 00​:01 121m␤»
<masak> rakudo​: sub foo { ['a', 'b' 'c'] }
<p6eval> rakudo c548b8​: OUTPUT«===SORRY!===␤Unable to parse blockoid,
couldn't find final '}' at line 22␤»
* masak submits LTA rakudobug

I like STD.pm6's error message. I find Rakudo's to be confusing.

Error message has changed slightly​:

sub foo { ['a', 'b' 'c'] }
Unable to parse expression in array composer; couldn't find final ']' at line 2, near "'a', 'b' '"

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Oct 10, 2012

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

@p6rt
Copy link
Author

p6rt commented Jan 4, 2013

From @moritz

Now reports two terms in a row. Tested in S32-exceptions/misc.t

@p6rt
Copy link
Author

p6rt commented Jan 4, 2013

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

@p6rt p6rt closed this as completed Jan 4, 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