Skip to content

Commit

Permalink
Remove no longer required special case for r-j
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
usev6 committed Nov 19, 2016
1 parent 9071142 commit 1e10ce3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/core/Failure.pm
Expand Up @@ -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(); }
Expand Down

0 comments on commit 1e10ce3

Please sign in to comment.