Skip to content

Commit

Permalink
Make infix:<!=> for Ints consistent with...
Browse files Browse the repository at this point in the history
the other infix operators.
  • Loading branch information
MasterDuke17 committed Jul 12, 2018
1 parent 5682ee1 commit 46e7640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Int.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ multi sub infix:<==>(int $a, int $b) {
}

multi sub infix:<!=>(int $a, int $b) { nqp::p6bool(nqp::isne_i($a, $b)) }
multi sub infix:<!=>(Int:D $a, Int:D $b) { nqp::p6bool(nqp::isne_I($a, $b)) }
multi sub infix:<!=>(Int:D \a, Int:D \b) { nqp::p6bool(nqp::isne_I(nqp::decont(a), nqp::decont(b))) }

multi sub infix<»(Int:D \a, Int:D \b) {
nqp::p6bool(nqp::islt_I(nqp::decont(a), nqp::decont(b)))
Expand Down

0 comments on commit 46e7640

Please sign in to comment.