Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
remove commented out "cannot work" test
(marked so by pmichaud++)
  • Loading branch information
coke committed Jul 11, 2014
1 parent fcf62f1 commit 830b276
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions S12-attributes/delegation.t
Expand Up @@ -181,16 +181,6 @@ class PairTest {
is $h.Str, ~{a => 5}, 'delegation of .Str and .push to hash';
}

# This test cannot work; autoviv requires Hash-like methods in
# Any, which means that the 'handles Hash' fallback never occurs.
#{
# class TypePseudoHash { has %!data handles Hash }
# my $h = TypePseudoHash.new;
# $h<a> = 'c';
# $h<b> = 'd';
# is $h<a b>.join('|'), 'c|d', 'can do handles + type object (1)';
#}

{
role OtherRole {
method c() { 3 }
Expand Down

0 comments on commit 830b276

Please sign in to comment.