@@ -4510,9 +4510,8 @@ function grow(t, n) {
4510
4510
var filler = function (i) {
4511
4511
if (i < t[/* la_results */0].length) {
4512
4512
return Caml_array.caml_array_get(t[/* la_results */0], i);
4513
- } else {
4514
- return undefined;
4515
4513
}
4514
+
4516
4515
};
4517
4516
var new_arr = $$Array.init(new_size, filler);
4518
4517
t[/* la_results */0] = new_arr;
@@ -4900,9 +4899,8 @@ function semicolon_loc($staropt$star, env) {
4900
4899
var i = $staropt$star !== undefined ? $staropt$star : 0;
4901
4900
if (token$2(i, env) === /* T_SEMICOLON */7) {
4902
4901
return loc(i, env);
4903
- } else {
4904
- return undefined;
4905
4902
}
4903
+
4906
4904
}
4907
4905
4908
4906
function is_identifier($staropt$star, env) {
@@ -5759,9 +5757,8 @@ function primitive(param) {
5759
5757
} else {
5760
5758
return /* Null */2;
5761
5759
}
5762
- } else {
5763
- return undefined;
5764
5760
}
5761
+
5765
5762
}
5766
5763
5767
5764
function function_param_or_generic_type(env) {
@@ -6119,9 +6116,8 @@ function type_parameter_instantiation(env) {
6119
6116
loc,
6120
6117
/* record */[/* params */params$1]
6121
6118
];
6122
- } else {
6123
- return undefined;
6124
6119
}
6120
+
6125
6121
}
6126
6122
6127
6123
function param(env) {
@@ -6265,9 +6261,8 @@ function type_parameter_declaration(allow_default, env) {
6265
6261
loc,
6266
6262
/* record */[/* params */params$2]
6267
6263
];
6268
- } else {
6269
- return undefined;
6270
6264
}
6265
+
6271
6266
}
6272
6267
6273
6268
function intersection_with(env, left) {
@@ -6702,9 +6697,8 @@ function annotation_opt(env) {
6702
6697
var match = Curry._2(Parser_env_048[/* token */0], undefined, env);
6703
6698
if (typeof match === "number" && match === 77) {
6704
6699
return annotation(env);
6705
- } else {
6706
- return undefined;
6707
6700
}
6701
+
6708
6702
}
6709
6703
6710
6704
function wrap(f, env) {
@@ -7390,9 +7384,8 @@ function peek_unary_op(env) {
7390
7384
} else {
7391
7385
return undefined;
7392
7386
}
7393
- } else {
7394
- return undefined;
7395
7387
}
7388
+
7396
7389
}
7397
7390
7398
7391
function unary(env) {
@@ -11215,9 +11208,8 @@ function from_expr(env, param) {
11215
11208
match$2[1]
11216
11209
])]);
11217
11210
}
11218
- } else {
11219
- return undefined;
11220
11211
}
11212
+
11221
11213
}), param$1[1][/* elements */0]);
11222
11214
return /* tuple */[
11223
11215
param$1[0],
@@ -13607,9 +13599,8 @@ function predicate(env) {
13607
13599
/* Inferred */0
13608
13600
];
13609
13601
}
13610
- } else {
13611
- return undefined;
13612
13602
}
13603
+
13613
13604
}
13614
13605
13615
13606
Caml_module.update_mod([[
0 commit comments