Skip to content

Commit 68bf91e

Browse files
committed
Fixes
1 parent 48b465f commit 68bf91e

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

compiler/lib/eval.ml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,10 @@ let constant_js_equal a b =
272272
| _, Float_array _
273273
| Int64 _, _
274274
| _, Int64 _
275+
| Int32 _, _
276+
| _, Int32 _
277+
| NativeInt _, _
278+
| _, NativeInt _
275279
| Tuple _, _
276280
| _, Tuple _ -> None
277281

compiler/lib/flow.ml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,10 @@ let constant_identical a b =
341341
| _, Float_array _
342342
| Int64 _, _
343343
| _, Int64 _
344+
| Int32 _, _
345+
| _, Int32 _
346+
| NativeInt _, _
347+
| _, NativeInt _
344348
| Tuple _, _
345349
| _, Tuple _ -> false
346350

compiler/tests-compiler/dune.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,11 +362,11 @@
362362
(library
363363
;; compiler/tests-compiler/gh1659.ml
364364
(name gh1659_15)
365-
(enabled_if true)
365+
(enabled_if (and (<> %{profile} wasm) (<> %{profile} wasm-effects)))
366366
(modules gh1659)
367367
(libraries js_of_ocaml_compiler unix str jsoo_compiler_expect_tests_helper)
368368
(inline_tests
369-
(enabled_if true)
369+
(enabled_if (and (<> %{profile} wasm) (<> %{profile} wasm-effects)))
370370
(deps
371371
(file %{project_root}/compiler/bin-js_of_ocaml/js_of_ocaml.exe)
372372
(file %{project_root}/compiler/bin-jsoo_minify/jsoo_minify.exe)))

0 commit comments

Comments
 (0)