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

Rakudo can't parse two-adverbs-in-a-row as having an invisible comma between them #1704

Closed
p6rt opened this issue Apr 19, 2010 · 4 comments
Closed
Labels

Comments

@p6rt
Copy link

p6rt commented Apr 19, 2010

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

Searchable as RT74492$

@p6rt
Copy link
Author

p6rt commented Apr 19, 2010

From @masak

<masak> std​: sub foo {}; foo(​:a :b :c)
<p6eval> std 30407​: OUTPUT«ok 00​:01 109m␤»
<masak> rakudo​: sub foo(​:$a, :$b, :$c) {}; foo(​:a :b :c)
<p6eval> rakudo 538606​: OUTPUT«Unable to parse postcircumfix​:sym<( )>,
couldn't find final ')' [...]
* masak submits rakudobug
<moritz_> std​: :a :b
<p6eval> std 30407​: OUTPUT«ok 00​:01 107m␤»
<moritz_> is that the same as :a, :b?
<masak> aye.
<masak> S02​: "Two or more adverbs can always be strung together
without intervening punctuation anywhere a single adverb is
acceptable."
<moritz_> list of arbitrary things to remember, anybody?
<jnthn> grr
<jnthn> I don't like that.
* jnthn hopes the spec will change to match Rakudo there

@p6rt
Copy link
Author

p6rt commented Aug 18, 2010

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

@p6rt
Copy link
Author

p6rt commented Apr 13, 2014

From @Mouq

On Mon Apr 19 05​:43​:23 2010, masak wrote​:

<masak> std​: sub foo {}; foo(​:a :b :c)
<p6eval> std 30407​: OUTPUT«ok 00​:01 109m␤»
<masak> rakudo​: sub foo(​:$a, :$b, :$c) {}; foo(​:a :b :c)
<p6eval> rakudo 538606​: OUTPUT«Unable to parse postcircumfix​:sym<( )>,
couldn't find final ')' [...]
* masak submits rakudobug
<moritz_> std​: :a :b
<p6eval> std 30407​: OUTPUT«ok 00​:01 107m␤»
<moritz_> is that the same as :a, :b?
<masak> aye.
<masak> S02​: "Two or more adverbs can always be strung together
without intervening punctuation anywhere a single adverb is
acceptable."
<moritz_> list of arbitrary things to remember, anybody?
<jnthn> grr
<jnthn> I don't like that.
* jnthn hopes the spec will change to match Rakudo there

Adverbs without intervening commas works now and has tests in S02-literals/adverbs.t. Closing.

@p6rt
Copy link
Author

p6rt commented Apr 13, 2014

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

@p6rt p6rt closed this as completed Apr 13, 2014
@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