Skip to content

Commit 6d4d64f

Browse files
committed
refactor: force custom implementations of create_child
1 parent b3cc71c commit 6d4d64f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PopMember.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ function create_child(
224224
complexity::Union{Int,Nothing}=nothing,
225225
parent_ref,
226226
kwargs...,
227-
) where {T,L,N<:AbstractExpression{T},P<:AbstractPopMember{T,L,N}}
227+
) where {T,L,N<:AbstractExpression{T},P<:PopMember{T,L,N}}
228228
actual_complexity = @something complexity compute_complexity(tree, options)
229229
return constructorof(P)(
230230
tree,
@@ -253,7 +253,7 @@ function create_child(
253253
complexity::Union{Int,Nothing}=nothing,
254254
parent_ref,
255255
kwargs...,
256-
) where {T,L,N<:AbstractExpression{T},P<:AbstractPopMember{T,L,N}}
256+
) where {T,L,N<:AbstractExpression{T},P<:PopMember{T,L,N}}
257257
actual_complexity = @something complexity compute_complexity(tree, options)
258258
return constructorof(P)(
259259
tree,

0 commit comments

Comments
 (0)