Permalink
Browse files

Fix a proto.

  • Loading branch information...
1 parent cf49051 commit 5c491115aa8ce81a40e35e509a3a568a4806a4c8 @jnthn jnthn committed Mar 15, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/core/Numeric.pm
View
@@ -170,9 +170,9 @@ proto sub ceiling($) is pure { * }
multi sub ceiling($a) { $a.Numeric.ceiling }
multi sub ceiling(Numeric $a) { $a.ceiling }
-proto sub round($) is pure { * }
-multi sub round($a) { $a.Numeric.round }
-multi sub round(Numeric $a) { $a.round }
+proto sub round($, $?) is pure { * }
+multi sub round($a) { $a.Numeric.round }
+multi sub round(Numeric $a) { $a.round }
multi sub round(Numeric $a, $scale) { $a.round($scale) }
proto infix:<+>($a?, $b?) is pure { * }

0 comments on commit 5c49111

Please sign in to comment.