Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Roles apparently can't quite handle 'multi method' yet, so set
Enumeration.Numeric back to an ordinary method for now.
  • Loading branch information
pmichaud committed Aug 3, 2011
1 parent 538d581 commit 9fdde9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Enumeration.pm
Expand Up @@ -3,7 +3,7 @@ my role Enumeration {
has $.key;
has $.value;

multi method Numeric(Enumeration:D:) { $!value.Numeric }
method Numeric(Enumeration:D:) { $!value.Numeric }

method enums() {
self.^enum_values
Expand Down

0 comments on commit 9fdde9e

Please sign in to comment.