wrap expr with paren

This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-03-22 16:54:54 +09:00
parent ebb337b132
commit 04b5e705e0
+1 -1
View File
@@ -293,7 +293,7 @@ module Enumerable
max_cmp = block.call(*val)
first = false
else
if cmp = block.call(*val) > max_cmp
if (cmp = block.call(*val)) > max_cmp
max = val.__svalue
max_cmp = cmp
end