File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -453,6 +453,7 @@ build test/mutable_obj_test.cmi test/mutable_obj_test.cmj : cc test/mutable_obj_
453
453
build test/mutable_uncurry_test.cmi test/mutable_uncurry_test.cmj : cc test/mutable_uncurry_test.ml | test/mt.cmj $stdlib
454
454
build test/mutual_non_recursive_type.cmi test/mutual_non_recursive_type.cmj : cc test/mutual_non_recursive_type.ml | $stdlib
455
455
build test/name_mangle_test.cmi test/name_mangle_test.cmj : cc test/name_mangle_test.ml | test/mt.cmj $stdlib
456
+ build test/native_pattern.cmi test/native_pattern.cmj : cc test/native_pattern.ml | test/nativeint.cmj $stdlib
456
457
build test/nativeint.cmj : cc_cmi test/nativeint.ml | test/nativeint.cmi $stdlib
457
458
build test/nativeint.cmi : cc test/nativeint.mli | $stdlib
458
459
build test/nested_include.cmi test/nested_include.cmj : cc test/nested_include.ml | $stdlib
Original file line number Diff line number Diff line change
1
+ 'use strict' ;
2
+
3
+
4
+ function f ( x ) {
5
+ if ( x !== 1 ) {
6
+ if ( x !== 2 ) {
7
+ return x + 3 ;
8
+ } else {
9
+ return 0 ;
10
+ }
11
+ } else {
12
+ return 0 ;
13
+ }
14
+ }
15
+
16
+ exports . f = f ;
17
+ /* No side effect */
Original file line number Diff line number Diff line change
1
+ let f = function
2
+ | 1n
3
+ | 2n -> 0n
4
+ | x -> Nativeint. add x 3n
You can’t perform that action at this time.
0 commit comments