Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1a5f286

Browse files
committedNov 10, 2024·
Add example of what was previously over-optimized.
1 parent 90f7e9b commit 1a5f286

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
 

Diff for: ‎tests/tests/src/Equality_over_optimization.mjs

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Generated by ReScript, PLEASE EDIT WITH CARE
2+
3+
4+
let z = undefined === [(console.log("hello"), undefined)];
5+
6+
export {
7+
z,
8+
}
9+
/* z Not a pure module */

Diff for: ‎tests/tests/src/Equality_over_optimization.res

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
let z = None == Some([Console.log("hello")])

0 commit comments

Comments
 (0)
Please sign in to comment.