Skip to content

Varargs-related subtype abort #39521

@maleadt

Description

@maleadt
Tuple{Type{Base.PermutedDimsArrays.PermutedDimsArray{Float32, 3, _A, _B, Array{Float32, 3}}} where _B where _A, DataType, DataType} <: Tuple{Vararg{V, N}} where V where N

julia: /home/tim/Julia/src/julia/src/subtype.c:1887: jl_subtype_env: Assertion `obvious_subtype == 3 || obvious_subtype == subtype || jl_has_free_typevars(x) || jl_has_free_typevars(y)' failed.

signal (6): Aborted
in expression starting at none:1
jl_subtype_env at /home/tim/Julia/src/julia/src/subtype.c:1887
jl_f_issubtype at /home/tim/Julia/src/julia/src/builtins.c:444

Reproduces on release-1.6 branch (e.g., https://s3.amazonaws.com/julialangnightlies/assert_pretesting/linux/x64/1.6/julia-8ceeb68753-linux64.tar.gz) but not on master (e.g., https://s3.amazonaws.com/julialangnightlies/pretesting/linux/x64/1.7/julia-20224a6686-linux64.tar.gz). Are we missing a backport? cc @KristofferC; I'll see about bisecting this, and also on master.

Metadata

Metadata

Assignees

Labels

regressionRegression in behavior compared to a previous versiontypes and dispatchTypes, subtyping and method dispatch

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions