Skip to content

Commit f668c4f

Browse files
committed
comment
1 parent 3936545 commit f668c4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/core/js_exp_make.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ let rec push_negation (e : t) : t option =
702702
Basic simplification rules:
703703
- [false && e] -> [false]
704704
- [true && e] -> [e]
705-
- [e && false] -> [false]
705+
- [e && false] -> [false] If [e] has no side effects
706706
- [e && true] -> [e]
707707
- [(a && b) && e] -> If either [a && e] or [b && e] can be simplified,
708708
creates new AND expression with simplified parts: [(a' && b')]

0 commit comments

Comments
 (0)