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 aa558a8 commit ae86083Copy full SHA for ae86083
src/match/union.jl
@@ -14,7 +14,7 @@ end
14
function isor(ex)
15
if isexpr(ex, :call)
16
arg1 = ex.args[1]
17
- return arg1 isa Symbol && arg1 in (:or_, :|) # to improve inferrability, see #166
+ return arg1 isa Symbol && arg1 in (:or_, :|) # "isa Symbol" check improves inferrability (#166)
18
end
19
return false
20
0 commit comments