You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This crashes Julia 1.9 (rc1 or rc2) with a segmentation fault:
foo(a::AbstractArray{T, N}) where {N, T<:Tuple{zeros(Int,Val(N))...}} = a
In 1.8 or 1.6 it gives:
julia> foo(a::AbstractArray{T, N}) where {N, T<:Tuple{zeros(Int,Val(N))...}} = a
ERROR: UndefVarError: x not defined
Stacktrace:
[1] Val{N}()
@ Base ./essentials.jl:712
[2] Val(x::TypeVar)
@ Base ./essentials.jl:714
[3] top-level scope
@ REPL[1]:1
(which is a strange error message, but that's another problem)
The text was updated successfully, but these errors were encountered:
This crashes Julia 1.9 (rc1 or rc2) with a segmentation fault:
In 1.8 or 1.6 it gives:
(which is a strange error message, but that's another problem)
The text was updated successfully, but these errors were encountered: