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?