-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal error: during type inference of promote_typeof(Base.UnitRange{Int64}, Base.UnitRange{Int64}, Array{Any, 1}, Base.UnitRange{Int64}, Base.UnitRange{Int64}...)
#56913
Labels
bug
Indicates an unexpected problem or unintended behavior
compiler:inference
Type inference
regression
Regression in behavior compared to a previous version
regression 1.12
Regression in the 1.12 release
Milestone
Comments
nsajko
added
bug
Indicates an unexpected problem or unintended behavior
compiler:inference
Type inference
regression
Regression in behavior compared to a previous version
regression 1.12
Regression in the 1.12 release
labels
Dec 27, 2024
Reduced to: Base.infer_return_type(Base.promote_typeof, Tuple{UnitRange{Int64}, UnitRange{Int64}, Vector{Any}, Vararg{UnitRange{Int64}}}) Error message:
|
Possibly reduces to: Compiler = Core.Compiler
s = AbstractArray{T, 1} where {T}
t = AbstractArray{<:Any, 1}
cs = Core.Const(s)
ct = Core.Const(t)
lattice = Compiler.PartialsLattice{Compiler.ConstsLattice}(Compiler.ConstsLattice())
Compiler.tmerge(lattice, cs, ct) Not sure if the above is supposed to work though, the snippet throws a
Error message:
|
nsajko
added a commit
to nsajko/julia
that referenced
this issue
Dec 28, 2024
nsajko
added a commit
to nsajko/julia
that referenced
this issue
Dec 29, 2024
nsajko
added a commit
to nsajko/julia
that referenced
this issue
Jan 5, 2025
vtjnash
pushed a commit
that referenced
this issue
Jan 5, 2025
Fixed by #56915
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Indicates an unexpected problem or unintended behavior
compiler:inference
Type inference
regression
Regression in behavior compared to a previous version
regression 1.12
Regression in the 1.12 release
MWE:
Error:
I bisected this to #55741 🤷
The text was updated successfully, but these errors were encountered: