Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[t/spec] Unfudge test for RT#63330.

git-svn-id: http://svn.pugscode.org/pugs@26724 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
commit afb3675aba4c5aa176be0cf4e5d35b59589fe090 1 parent e169d45
jnthn authored
Showing with 5 additions and 4 deletions.
  1. +5 −4 S14-roles/composition.t
View
9 S14-roles/composition.t
@@ -60,9 +60,7 @@ is $y.mB2, 'mB2', 'Can call mixed in method (two roles) 4';
is $z.mA1, 'D1.mA1', 'Can override method in a role with method in a class';
}
-# diamond composition, see RT #63330
-
-#?rakudo skip 'RT #63330'
+# diamond composition
{
role DA {
method foo { "OH HAI" };
@@ -71,9 +69,12 @@ is $y.mB2, 'mB2', 'Can call mixed in method (two roles) 4';
role DC does DA { }
class DD does DB does DC { };
is DD.new.foo, 'OH HAI', 'diamond role composition';
+}
+
+#?rakudo skip 'RT #63332'
+{
class DE is DB is DC { };
is DE.new.foo, 'OH HAI', 'same with punning and inheritance';
-
}
# vim: syn=perl6
Please sign in to comment.
Something went wrong with that request. Please try again.