Skip to content

Commit bb86259

Browse files
authored
update inference reflection usage for 1.10
1 parent a03c5cd commit bb86259

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/compiler/inference.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5166,9 +5166,9 @@ issue55882_nfields(x::Union{T,Nothing}) where T<:Number = nfields(x)
51665166
@test only(Base.return_types(issue55882_nfields)) <: Int
51675167

51685168
# JuliaLang/julia#56248
5169-
@test only(Base.infer_return_type() do
5169+
@test only(Base.return_types() do
51705170
TypeVar(:Issue56248, 1)
51715171
end) === Union{}
5172-
@test only(Base.infer_return_type() do
5172+
@test only(Base.Base.return_types() do
51735173
TypeVar(:Issue56248, Any, 1)
51745174
end) === Union{}

0 commit comments

Comments
 (0)