Skip to content

Commit

Permalink
Remove big int check for +<
Browse files Browse the repository at this point in the history
It's no longer NYI
  • Loading branch information
zoffixznet committed May 10, 2017
1 parent d6798bf commit 6409ee5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/core/Int.pm
Original file line number Diff line number Diff line change
Expand Up @@ -401,9 +401,7 @@ multi sub infix:<+^>(Int:D \a, Int:D \b) {
#}

multi sub infix+<»(Int:D \a, Int:D \b --> Int:D) {
nqp::isbig_I(nqp::decont(b))
?? Failure.new(X::NYI::BigInt.new(:op('+<'),:big(b)))
!! nqp::bitshiftl_I(nqp::decont(a), nqp::unbox_i(b), Int)
nqp::bitshiftl_I(nqp::decont(a), nqp::unbox_i(b), Int)
}
#multi sub infix:«+<»(int $a, int $b) { RT#128655
# nqp::bitshiftl_i($a, $b);
Expand Down

0 comments on commit 6409ee5

Please sign in to comment.