Open dpinol opened 7 months ago
oth,
module noConstructorFound
Base.@kwdef struct KWS{T}
myField::Union{T, Nothing} = nothing
end
end
causes
═════ 1 possible error found ═════
┌ noConstructorFound.KWS() @ noConstructorFound /home/dani/dev/julia/jet/issues/noConstructorFound/src/noConstructorFound.jl:3
│┌ noConstructorFound.KWS(; myField::Nothing) @ noConstructorFound /home/dani/dev/julia/jet/issues/noConstructorFound/src/noConstructorFound.jl:3
││┌ noConstructorFound.KWS(myField::Nothing) @ noConstructorFound /home/dani/dev/julia/jet/issues/noConstructorFound/src/noConstructorFound.jl:4
│││ `T` not defined in static parameter matching: Core.apply_type(noConstructorFound.KWS, T::Any)
When creating a package with
I get this error with julia 1.10 and JET 0.8.29
thanks