diff --git a/src/struct.jl b/src/struct.jl index 9e0ac5b1a..8e44e460e 100644 --- a/src/struct.jl +++ b/src/struct.jl @@ -67,8 +67,6 @@ function SymbolicUtils.promote_symtype(::typeof(typed_getfield), ::Type{<:Struct FT end - -SymbolicUtils.promote_symtype(::typeof(setfield!), ::Type{<:Struct}, _, ::Type{T}) where T = T function SymbolicUtils.promote_symtype(s::Type{<:Struct{T}}, _...) where T s end