Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix test for RT #68136
... Mouq++ for pointing out the correct syntax
  • Loading branch information
usev6 committed Apr 13, 2015
1 parent d561d49 commit 223db17
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions S14-roles/parameterized-type.t
Expand Up @@ -60,10 +60,9 @@ dies_ok { R2[C3].new.call_fail }, 'classes being used as type constraints insid
eval_dies_ok 'role ABCD[EFGH] { }', 'role with undefined type as parameter dies';

# RT #68136
#?rakudo skip 'cannot easily override [] at the moment'
{
role TreeNode[::T] does Positional {
has TreeNode[T] @!children handles 'postcircumfix:<[ ]>'; # METHOD TO SUB CASUALTY
has TreeNode[T] @!children handles <AT-POS ASSIGN-POS BIND-POS>;
has T $.data is rw;
};
my $tree = TreeNode[Int].new;
Expand Down

0 comments on commit 223db17

Please sign in to comment.