This is an automatically generated mail to inform you that tests are now 
available in t/spec/S14-roles/composition.t

commit 4ed0890c3ab73914cd23c087304be9ac37e09268
Author: bbkr <b...@c213334d-75ef-0310-aa23-eaa082d1ae64>
Date:   Mon Jun 28 22:33:37 2010 +0000

    [t/spec] tests for RT #72856 Null PMC access when two methods from 
different roles collide in a class composition in Rakudo
    
    git-svn-id: http://svn.pugscode.org/p...@31492 
c213334d-75ef-0310-aa23-eaa082d1ae64

diff --git a/t/spec/S14-roles/composition.t b/t/spec/S14-roles/composition.t
index ca5b4cc..73850b7 100644
--- a/t/spec/S14-roles/composition.t
+++ b/t/spec/S14-roles/composition.t
@@ -1,6 +1,6 @@
 use v6;
 use Test;
-plan 22;
+plan 23;
 
 # L<S14/Roles/"Roles may be composed into a class at compile time">
 
@@ -107,6 +107,14 @@ ok rB !~~ RT64002, 'role not matched by second role it 
does';
 
 }
 
+# RT #72856
+{
+    role RT72856A { method foo {} };
+    role RT72856B { method foo {} };
+    eval 'class RT72856C does RT72856A does RT72856B {}';
+    ok $! ~~ /foo .* collides/,
+        'method of the same name from two different roles collide in a class 
composition';
+}
 
 done_testing;
 

Reply via email to