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 doesn't understand :a(1) pair syntax inside a <<...>> quote #962

Closed
p6rt opened this issue May 1, 2009 · 6 comments
Closed

Rakudo doesn't understand :a(1) pair syntax inside a <<...>> quote #962

p6rt opened this issue May 1, 2009 · 6 comments

Comments

@p6rt
Copy link

p6rt commented May 1, 2009

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

Searchable as RT65304$

@p6rt
Copy link
Author

p6rt commented May 1, 2009

From @masak

<masak> rakudo​: say <<​:a(1)>>.perl
<p6eval> rakudo f934db​: OUTPUT«"​:a(1)"␤»
* masak reports rakudobug

The expected output should be the same as from a pair, something like this​:

  "a" => 1

@p6rt
Copy link
Author

p6rt commented Oct 10, 2009

From @kyleha

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

commit 42b818efff8c32872c0bce2be0d7cb0e5a035f58
Author​: kyle <kyle@​c213334d-75ef-0310-aa23-eaa082d1ae64>
Date​: Sat Oct 10 23​:45​:36 2009 +0000

  [t/spec] Mark test for RT #​65304
 
  git-svn-id​: http://svn.pugscode.org/pugs@&#8203;28736 c213334d-75ef-0310-aa23-eaa082d1ae64

Inline Patch
diff --git a/t/spec/S02-literals/quoting.t b/t/spec/S02-literals/quoting.t
index cb87f8d..1f14139 100644
--- a/t/spec/S02-literals/quoting.t
+++ b/t/spec/S02-literals/quoting.t
@@ -333,7 +333,7 @@ FOO
 {
   # <<:Pair>>
     my @q = <<:p(1)>>;
-    #?rakudo 2 todo '<< :pair(1) >>'
+    #?rakudo 2 todo '<< :pair(1) >> (RT 65304)'
     is(@q[0].perl, (:p(1)).perl, "pair inside <<>>-quotes - simple");
 
     @q = <<:p(1) junk>>;

@p6rt
Copy link
Author

p6rt commented Oct 10, 2009

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

@p6rt
Copy link
Author

p6rt commented Sep 9, 2011

From @bbkr

NOM

still broken

bbkr​:nom bbkr$ ./perl6 -e 'say <<​:a(1)>>.perl'
"​:a(1)"

bbkr​:nom bbkr$ ./perl6 -e 'say <<​:a(1)>>.WHAT'
Str()

@p6rt
Copy link
Author

p6rt commented Dec 28, 2012

From @moritz

works now, tests pass.

@p6rt
Copy link
Author

p6rt commented Dec 28, 2012

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

@p6rt p6rt closed this as completed Dec 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant