Skip to content

Commit 6183deb

Browse files
authored
fix: type parameter
1 parent 55bca63 commit 6183deb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Node.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ include("base.jl")
220220
end
221221
validate_not_all_defaults(::Type{<:AbstractExpressionNode}, val, feature, op, l, r, children) = nothing
222222
validate_not_all_defaults(::Type{<:AbstractExpressionNode{T}}, val, feature, op, l, r, children) where {T} = nothing
223-
function validate_not_all_defaults(::Type{<:AbstractExpressionNode{T}}, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing) where {T}
223+
function validate_not_all_defaults(::Type{N}, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing) where {T,N<:AbstractExpressionNode{T}}
224224
error(
225225
"Type setup error for $N(). "
226226
* "Did you forget to define `$(Base.typename(N).wrapper){T}() where {T} = new{T}()`?"

0 commit comments

Comments
 (0)