Skip to content

Commit 683aea0

Browse files
committed
add missing parens
1 parent 585514b commit 683aea0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linting/checks.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ function check_incorrect_iter_spec(x, body, env)
385385
b = refof(arr)
386386

387387
# 1:length(arr) indexing is ok for Vector and Array specifically
388-
if b isa Binding && CoreTypes.isarray(b.type) || CoreTypes.isvector(b.type)
388+
if b isa Binding && (CoreTypes.isarray(b.type) || CoreTypes.isvector(b.type))
389389
return
390390
end
391391
if !all_underscore(valof(lhs))

0 commit comments

Comments
 (0)