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.
1 parent 2e71bb8 commit 2522f67Copy full SHA for 2522f67
src/functor.jl
@@ -81,11 +81,6 @@ end
81
function _default_walk(f, x, ys...)
82
func, re = functor(x)
83
yfuncs = map(y -> functor(typeof(x), y)[1], ys)
84
- for yf in yfuncs
85
- nx = propertynames(func)
86
- ny = propertynames(yf)
87
- nx == ny || throw(ArgumentError("names of children must agree, got $nx != $ny"))
88
- end
89
re(map(f, func, yfuncs...))
90
end
91
0 commit comments