Skip to content

Commit 1b576fe

Browse files
committed
feat: only warn if defining helper functions
1 parent b162f75 commit 1b576fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OperatorEnumConstruction.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ redefine operators for `AbstractExpressionNode` types, as well as `show`, `print
452452
end
453453
end
454454

455-
if any(
455+
if define_helper_functions && any(
456456
op_set -> any(op -> op isa Broadcast.BroadcastFunction, op_set),
457457
(binary_operators, unary_operators),
458458
)

0 commit comments

Comments
 (0)