Closed
Description
Hyperscript doesn't build on nightly. The reason is https://github.com/yurivish/Hyperscript.jl/blob/7731aecafd06e9366020ebee0d6674527fe3d7d6/src/Hyperscript.jl#L117
Here's why: 1.6 has a new TOML parser that includes this line. The issue is that Union{} <: Hyperscript.AbstractNode
, because Union{}
is a subtype of every other type, and hence instead of creating an array with eltype Union{}
it tries (during package loading!) to call Union{}(xs...)
, which obviously fails. CC @KristofferC.
I am pretty sure this method counts as type-piracy (even if you own YourType
, you do not own Vector{YourType}
), so I guess the question is, can it be eliminated?
Metadata
Metadata
Assignees
Labels
No labels