Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make .Int a multi
  • Loading branch information
lizmat committed Dec 20, 2014
1 parent b5699e3 commit 23413d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/Cool.pm
Expand Up @@ -226,7 +226,8 @@ my class Cool { # declared in BOOTSTRAP
}

multi method Real() { self.Numeric.Real }
method Int() { self.Numeric.Int }
proto method Int(|) { * }
multi method Int() { self.Numeric.Int }
method Num() { self.Numeric.Num }
method Rat() { self.Numeric.Rat }
}
Expand Down

0 comments on commit 23413d3

Please sign in to comment.