Skip to content

Commit c77cf7a

Browse files
authored
test: fix error message
1 parent 6183deb commit c77cf7a

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
@@ -222,7 +222,7 @@ validate_not_all_defaults(::Type{<:AbstractExpressionNode}, val, feature, op, l,
222222
validate_not_all_defaults(::Type{<:AbstractExpressionNode{T}}, val, feature, op, l, r, children) where {T} = nothing
223223
function validate_not_all_defaults(::Type{N}, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing) where {T,N<:AbstractExpressionNode{T}}
224224
error(
225-
"Type setup error for $N(). "
225+
"Encountered the call for $N() inside the generic constructor. "
226226
* "Did you forget to define `$(Base.typename(N).wrapper){T}() where {T} = new{T}()`?"
227227
)
228228
return nothing

0 commit comments

Comments
 (0)