Skip to content

Commit 2522f67

Browse files
committed
remove friendly error
1 parent 2e71bb8 commit 2522f67

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/functor.jl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,6 @@ end
8181
function _default_walk(f, x, ys...)
8282
func, re = functor(x)
8383
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
8984
re(map(f, func, yfuncs...))
9085
end
9186

0 commit comments

Comments
 (0)