Skip to content

Commit c91dc62

Browse files
authored
throw_overflowerr_negation takes 1 argument
1 parent e672f35 commit c91dc62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/quirks.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ end
2525
# checked.jl
2626
@device_override @noinline Base.Checked.throw_overflowerr_binaryop(op, x, y) =
2727
@print_and_throw c"Binary operation overflowed"
28-
@device_override @noinline Base.Checked.throw_overflowerr_negation(op, x, y) =
28+
@device_override @noinline Base.Checked.throw_overflowerr_negation(x) =
2929
@print_and_throw c"Negation overflowed"
3030
@device_override function Base.Checked.checked_abs(x::Base.Checked.SignedInt)
3131
r = ifelse(x < 0, -x, x)

0 commit comments

Comments
 (0)