Skip to content

Commit f1e48b0

Browse files
authored
Update src/match/union.jl
1 parent 8742b16 commit f1e48b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/match/union.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ end
1414
function isor(ex)
1515
if isexpr(ex, :call)
1616
arg1 = ex.args[1]
17-
return arg1 isa Symbol && arg1 in (:or_, :|)
17+
return arg1 isa Symbol && arg1 in (:or_, :|) # to improve inferrability, see #166
1818
end
1919
return false
2020
end

0 commit comments

Comments
 (0)