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 wrongly allows unclosed less-than sign ('<') after @-sigilled variable in string interpolation #2425

Closed
p6rt opened this issue May 8, 2011 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented May 8, 2011

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

Searchable as RT90124$

@p6rt
Copy link
Author

p6rt commented May 8, 2011

From @masak

<masak> rakudo​: say "OH HAI @​a<"
<p6eval> rakudo 705435​: OUTPUT«OH HAI @​a<␤»
<masak> rakudo​: say "OH HAI @​a["
<p6eval> rakudo 705435​: OUTPUT«===SORRY!===␤Unable to parse
postcircumfix​:sym<[ ]>, couldn't find final ']' at line 22␤»
<masak> why is < OK but not [ ?
<sorear> std​: say "OH HAI @​a<"
<p6eval> std 9f27365​: OUTPUT«�[31m===�[0mSORRY!�[31m===�[0m␤Unable to
parse quote-words subscript; couldn't find right angle quote at
/tmp/SFvtOOnNLU line 1​:␤------> �[32msay "OH HAI @​a<�[33m⏏�[31m"�[0m␤
  expecting escape␤Parse failed␤FAILED 00​:01 114m␤»
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Nov 21, 2012

From @FROGGS

looks good now​:

<FROGGS> rakudo​: say "OH HAI @​a<"
<p6eval> rakudo bf472b​: OUTPUT«===SORRY!===␤Unable to parse quote-words
subscript; couldn't find right angle quote at line 2, near "\""␤»
<FROGGS> rakudo​: say "OH HAI @​a["
<p6eval> rakudo bf472b​: OUTPUT«===SORRY!===␤Unable to parse expression
in quote​:sym<dblq>; couldn't find final '"' at line 2, near ""␤»

@p6rt
Copy link
Author

p6rt commented Nov 21, 2012

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

@p6rt
Copy link
Author

p6rt commented Jan 4, 2013

From @moritz

Now tested in S02-literals/quoting.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