From 1e10ce33f316bb7c5189b54c34fa4a5bb27b121e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Bartolom=C3=A4us?= Date: Sat, 19 Nov 2016 19:03:51 +0100 Subject: [PATCH] Remove no longer required special case for r-j I was unable to find out why this special case was needed back in 2015. A spectest run looked good on rakudo-j (no new failures). --- src/core/Failure.pm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/core/Failure.pm b/src/core/Failure.pm index 9009f18788a..215e7ab928c 100644 --- a/src/core/Failure.pm +++ b/src/core/Failure.pm @@ -67,13 +67,7 @@ my class Failure is Nil { ) } -#?if moar method Int(Failure:D:) { $!handled ?? Int !! self!throw(); } -#?endif -#?if jvm - method Int(Failure:D:) { $!handled ?? 0 !! self!throw(); } -#?endif - method Num(Failure:D:) { $!handled ?? NaN !! self!throw(); } method Numeric(Failure:D:) { $!handled ?? NaN !! self!throw(); } multi method Str(Failure:D:) { $!handled ?? $.mess !! self!throw(); }