From d4419313f47c2ab396fcf945e4a6f0e3139c1725 Mon Sep 17 00:00:00 2001 From: Solomon Foster Date: Tue, 9 Aug 2011 14:58:51 -0400 Subject: [PATCH] Use "Real $?" for the Rat.Rat optional parameter which is ignored. jnthn++ --- src/core/Rat.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Rat.pm b/src/core/Rat.pm index d4c80873771..2f0ba5404e4 100644 --- a/src/core/Rat.pm +++ b/src/core/Rat.pm @@ -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 }