We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
is deprecated, I use
1 parent 4226dca commit 2f5ae40Copy full SHA for 2f5ae40
src/matchers.jl
@@ -156,7 +156,7 @@ function defslot_term_matcher_constructor(term)
156
# if data is not a list, return nothing
157
!islist(data) && return nothing
158
# if data (is not a tree and is just a symbol) or (is a tree not starting with the default operation)
159
- if !iscall(car(data)) || (istree(car(data)) && nameof(operation(car(data))) != defslot.operation)
+ if !iscall(car(data)) || (iscall(car(data)) && nameof(operation(car(data))) != defslot.operation)
160
other_part_matcher = matchers[defslot_index==2 ? 2 : 3] # find the matcher of the normal part
161
162
# checks wether it matches the normal part
0 commit comments