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

commit ce5620b1c9c709ad057ae6ac9ad973917c34045a
Author: kyle <k...@c213334d-75ef-0310-aa23-eaa082d1ae64>
Date:   Mon Dec 28 22:33:45 2009 +0000

    [t/spec] Test for RT 71064: hash access broken by postcircumfix:<{ }>
    
    git-svn-id: http://svn.pugscode.org/p...@29411 
c213334d-75ef-0310-aa23-eaa082d1ae64

diff --git a/t/spec/S02-builtin_data_types/hash.t 
b/t/spec/S02-builtin_data_types/hash.t
index d46348b..5e49574 100644
--- a/t/spec/S02-builtin_data_types/hash.t
+++ b/t/spec/S02-builtin_data_types/hash.t
@@ -2,7 +2,7 @@ use v6;
 
 use Test;
 
-plan 63;
+plan *;
 
 # basic lvalue assignment
 # L<S09/Hashes>
@@ -183,4 +183,21 @@ ok( $!, "doesn't really make sense, but shouldn't 
segfault, either ($!)");
 # test for RT #62730
 lives_ok { Hash.new("a" => "b") }, 'Hash.new($pair) lives';
 
+# RT #71064
+{
+    class RT71064 {
+        method postcircumfix:<{ }>($x) { 'bughunt' }
+        method rt71064() {
+            my %h = ( foo => 'victory' );
+            return %h<foo>;
+        }
+    }
+
+    #?rakudo todo 'RT 71064: hash access broken by postcircumfix:<{ }>'
+    is( RT71064.new.rt71064(), 'victory',
+        'postcircumfix:<{ }> method does not break ordinary hash access' );
+}
+
+done_testing;
+
 # vim: ft=perl6

Reply via email to