Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update test; can't use default constructor to set non-public attrs.
  • Loading branch information
jnthn committed Jul 9, 2011
1 parent 891dafc commit ed8e11e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions S12-class/attributes.t
Expand Up @@ -39,6 +39,7 @@ class ManyTest {
has ($a, $b);
has ($.c, $.d);
has ($!e, $!f);
submethod BUILD(:$!a, :$!b, :$!c, :$!d, :$!e, :$!f) { }
method t1 {
$a + $b
}
Expand Down

0 comments on commit ed8e11e

Please sign in to comment.