Skip to content

Commit 52ce907

Browse files
committed
fix compilation of check_top_bit
fixes #31819
1 parent 5168e35 commit 52ce907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/boot.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ eval(Core, :(NamedTuple{names,T}(args::T) where {names, T <: Tuple} =
557557

558558
import .Intrinsics: eq_int, trunc_int, lshr_int, sub_int, shl_int, bitcast, sext_int, zext_int, and_int
559559

560-
throw_inexacterror(f::Symbol, @nospecialize(T), val) = (@_noinline_meta; throw(InexactError(f, T, val)))
560+
throw_inexacterror(f::Symbol, ::Type{T}, val) where {T} = (@_noinline_meta; throw(InexactError(f, T, val)))
561561

562562
function is_top_bit_set(x)
563563
@_inline_meta

0 commit comments

Comments
 (0)