ERROR: type UnionAll has no field name

package
nightly

#1

The following code is taken from DiffEqBase.jl, and I am trying to update it to v0.6. However, I get the following error:

julia> type ODESolution{uType,tType,rateType,P,A,IType}
         u::uType
         t::tType
         k::rateType
         prob::P
         alg::A
         interp::IType
         dense::Bool
         tslocation::Int
       end

julia> (sol::ODESolution)(t,deriv::Type=Val{0};idxs=nothing) = sol.interp(t,idxs,deriv)
ERROR: type UnionAll has no field name
Stacktrace:
 [1] kwftype(::Any) at .\boot.jl:239

I can even narrow it down a bit, and it still errors (with the same error)

 (sol::ODESolution)(t,deriv;idxs=nothing) = sol.interp(t,idxs,deriv)

Is this a known issue? Or is there some syntax change I am hitting here?


#2

It’s a bug.


#3

Is there already an issue for it?


#4

These are for .parameters at least:


#5

It’s not for .parameters… I don’t think there’s one for kwftype yet.