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 dc9c560 commit e13dc9eCopy full SHA for e13dc9e
src/optimization/analyzerTexpr.ml
@@ -109,7 +109,7 @@ let target_handles_unops com = match com.platform with
109
let target_handles_assign_ops com e2 = match com.platform with
110
| Php -> not (has_side_effect e2)
111
| Lua -> false
112
- | Cpp when not (Define.defined com.defines Define.Cppia) -> false
+ | Cpp when not (Define.defined com.defines Define.Cppia) -> not (has_side_effect e2)
113
| _ -> true
114
115
let target_handles_side_effect_order com = match com.platform with
0 commit comments