Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
RT #114380, type attributes in roles
  • Loading branch information
moritz committed Aug 7, 2012
1 parent 7c3f87a commit 2eb9d53
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion S14-roles/basic.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 41;
plan 42;

=begin description
Expand Down Expand Up @@ -139,6 +139,10 @@ lives_ok {0 but True}, '0 but True has applicable candidate';
'can call method from a role with a name already assigned to a class';
}

# RT #114380
eval_lives_ok q[my role R { our $.r }; my class C does R {}],
'Can have "our $.r" in a role (RT 114380)';

done;

# vim: ft=perl6

0 comments on commit 2eb9d53

Please sign in to comment.