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 '{*.{}}()' (but STD.pm can) #1558

Closed
p6rt opened this issue Feb 27, 2010 · 7 comments
Closed

Rakudo can't parse '{*.{}}()' (but STD.pm can) #1558

p6rt opened this issue Feb 27, 2010 · 7 comments

Comments

@p6rt
Copy link

p6rt commented Feb 27, 2010

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

Searchable as RT73162$

@p6rt
Copy link
Author

p6rt commented Feb 27, 2010

From @masak

<masak> std​: {*.{}}()
<p6eval> std 29873​: OUTPUT«ok 00​:01 105m␤»
<masak> rakudo​: {*.{}}()
<p6eval> rakudo c83cf2​: OUTPUT«Unable to parse blockoid, couldn't find
final '}' [...]
* masak submits weird rakudobug

@p6rt
Copy link
Author

p6rt commented Jun 28, 2010

From @bbkr

$ perl6 -e '{*.{}}()'
$ echo $?
0

Parses on Kiev build, but I have no idea where test for such case should
be placed, so I'm leaving ticked unchanged.

@p6rt
Copy link
Author

p6rt commented Jun 28, 2010

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

@p6rt
Copy link
Author

p6rt commented Jun 29, 2010

From @bbkr

[15​:36] <bbkr> http://rt.perl.org/rt3/Ticket/Display.html?id=73162 - in
which file should I put test for that?
[15​:37] * moritz_ takes a look
[15​:37] <moritz_> bbkr​: S02-builtin_data_types/whatever.t
[15​:38] <bbkr> moritz_​: thanks
[15​:38] <moritz_> bbkr​: because the * in there is a Whatever star

Taking for tests

@p6rt
Copy link
Author

p6rt commented Jun 29, 2010

From @bbkr

test added in S02-builtin_data_types/whatever.t

@p6rt
Copy link
Author

p6rt commented Jun 29, 2010

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

@p6rt p6rt closed this as completed Jun 29, 2010
@p6rt
Copy link
Author

p6rt commented Jun 29, 2010

From @kyleha

This is an automatically generated mail to inform you that tests are now available in t/spec/S02-builtin_data_types/whatever.t

commit 3c4712024e03a1bf172dd4a848a4163686f8f59c
Author​: bbkr <bbkr@​c213334d-75ef-0310-aa23-eaa082d1ae64>
Date​: Tue Jun 29 14​:14​:07 2010 +0000

  [t/spec] tests for RT #​73162 Rakudo cant parse "{*.{}}()" (but STD.pm can)
 
  git-svn-id​: http://svn.pugscode.org/pugs@&#8203;31504 c213334d-75ef-0310-aa23-eaa082d1ae64

Inline Patch
diff --git a/t/spec/S02-builtin_data_types/whatever.t b/t/spec/S02-builtin_data_types/whatever.t
index 53abcbf..30d572a 100644
--- a/t/spec/S02-builtin_data_types/whatever.t
+++ b/t/spec/S02-builtin_data_types/whatever.t
@@ -185,6 +185,9 @@ is (0,0,0,0,0,0) >>+>> ((1,2) xx *), <1 2 1 2 1 2>, 'xx * works';
 
 }
 
+# RT #73162
+eval_lives_ok '{*.{}}()', '{*.{}}() lives';
+
 done_testing;
 
 # vim: ft=perl6

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