Skip to content

Commit 7dc37ea

Browse files
committed
Fix method ambig.
1 parent 774cd60 commit 7dc37ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/RecoPlans/RecoPlans.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ function Base.setproperty!(plan::RecoPlan{T}, name::Symbol, x::X) where {T, X}
115115
return Base.getproperty(plan, name)
116116
end
117117
validvalue(plan, t, value::Missing) = true
118+
validvalue(plan, t::Type{T}, value::Missing) where T = true
118119
validvalue(plan, ::Type{T}, value::X) where {T, X <: T} = true
119120
validvalue(plan, ::Type{T}, value::AbstractRecoPlan{<:T}) where T = true
120121
# RecoPlans are stripped of parameters

0 commit comments

Comments
 (0)