Skip to content

Commit 32b41b5

Browse files
committed
loop comment
1 parent bdc1090 commit 32b41b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/promotion.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ function promote_type(::Type{T}, ::Type{S}) where {T,S}
321321
end
322322
left = T
323323
right = S
324-
for _ 1:1000
324+
for _ 1:1000 # guarantee local termination
325325
if types_are_equal(left, right) || is_bottom(left) || is_bottom(right)
326326
break
327327
end

0 commit comments

Comments
 (0)