Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions test/parse_packages.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,17 @@ base_tests_path = joinpath(Sys.BINDIR, Base.DATAROOTDIR, "julia", "test")
return nothing
end

if endswith(f, "core.jl")
# Loose comparison due to `for f() = 1:3` syntax
return exprs_roughly_equal
if endswith(f, "core.jl")
# The test
# @test Union{Tuple{T}, Tuple{T,Int}} where {T} === widen_diagonal(Union{Tuple{T}, Tuple{T,Int}} where {T})
# depends on a JuliaSyntax bugfix and parses differently (wrong) using
# flisp. This was added in julia#52228 and backported in julia#52045
if v"1.10.0-rc1.39" <= VERSION
return nothing
else
# Loose comparison due to `for f() = 1:3` syntax
return exprs_roughly_equal
end
end

return exprs_equal_no_linenum
Expand Down