Skip to content

Commit

Permalink
Use "Real $?" for the Rat.Rat optional parameter which is ignored. jn…
Browse files Browse the repository at this point in the history
…thn++
  • Loading branch information
colomon committed Aug 9, 2011
1 parent 7c9b08a commit d441931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Rat.pm
Expand Up @@ -29,7 +29,7 @@ my class Rat is Real {
method Int() { self.Num.Int }

method Bridge() { self.Num }
method Rat(Rat:D: Real $epsilon = 1.0e-6) { self }
method Rat(Rat:D: Real $?) { self }
multi method Str(Rat:D:) {
self.Num.Str
}
Expand Down

0 comments on commit d441931

Please sign in to comment.