Skip to content

Commit

Permalink
Revert "Change Set.BUILD to be a submethod"
Browse files Browse the repository at this point in the history
This reverts commit ccb41d8.
  • Loading branch information
moritz committed Jul 14, 2015
1 parent ccb41d8 commit ab137b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Set.pm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ my class Set does Setty {
$!WHICH := self.^name ~ '|' ~ %!elems.keys.sort if !$!WHICH.defined;
$!WHICH
}
submethod BUILD (:%elems) {
method BUILD (:%elems) {
nqp::bindattr(self, Set, '%!elems', %elems);
self;
}
Expand Down

0 comments on commit ab137b7

Please sign in to comment.