@@ -58,14 +58,14 @@ function eqU(x, y) {
58
58
}
59
59
60
60
function eqUOpt ( x , y ) {
61
- if ( x !== undefined ) {
62
- if ( y !== undefined ) {
61
+ if ( x !== void 0 ) {
62
+ if ( y !== void 0 ) {
63
63
return x === y ;
64
64
} else {
65
65
return false ;
66
66
}
67
67
} else {
68
- return y === undefined ;
68
+ return y === void 0 ;
69
69
}
70
70
}
71
71
@@ -75,7 +75,7 @@ eq("File \"ast_js_mapper_poly_test.ml\", line 26, characters 5-12", eqUOpt(uFrom
75
75
76
76
eq ( "File \"ast_js_mapper_poly_test.ml\", line 27, characters 5-12" , eqUOpt ( uFromJs ( "C" ) , /* C */ 67 ) , true ) ;
77
77
78
- eq ( "File \"ast_js_mapper_poly_test.ml\", line 28, characters 5-12" , eqUOpt ( uFromJs ( "f" ) , undefined ) , true ) ;
78
+ eq ( "File \"ast_js_mapper_poly_test.ml\", line 28, characters 5-12" , eqUOpt ( uFromJs ( "f" ) , void 0 ) , true ) ;
79
79
80
80
eq ( "File \"ast_js_mapper_poly_test.ml\", line 29, characters 5-12" , $$Array . map ( uToJs , [
81
81
/* D */ 68 ,
@@ -107,14 +107,14 @@ function eqV(x, y) {
107
107
}
108
108
109
109
function eqVOpt ( x , y ) {
110
- if ( x !== undefined ) {
111
- if ( y !== undefined ) {
110
+ if ( x !== void 0 ) {
111
+ if ( y !== void 0 ) {
112
112
return x === y ;
113
113
} else {
114
114
return false ;
115
115
}
116
116
} else {
117
- return y === undefined ;
117
+ return y === void 0 ;
118
118
}
119
119
}
120
120
@@ -154,12 +154,12 @@ eq("File \"ast_js_mapper_poly_test.ml\", line 55, characters 5-12", $$Array.map(
154
154
6
155
155
] ) , [
156
156
/* A0 */ 0 ,
157
- undefined ,
158
- undefined ,
157
+ void 0 ,
158
+ void 0 ,
159
159
/* A1 */ 1 ,
160
160
/* A2 */ 2 ,
161
161
/* A3 */ 3 ,
162
- undefined
162
+ void 0
163
163
] ) ;
164
164
165
165
function v1ToJs ( param ) {
@@ -199,14 +199,14 @@ eq("File \"ast_js_mapper_poly_test.ml\", line 69, characters 5-12", $$Array.map(
199
199
5 ,
200
200
6
201
201
] ) , [
202
- undefined ,
202
+ void 0 ,
203
203
/* B0 */ 0 ,
204
204
/* B1 */ 1 ,
205
205
/* B2 */ 2 ,
206
206
/* B3 */ 3 ,
207
207
/* B4 */ 4 ,
208
208
/* B5 */ 5 ,
209
- undefined
209
+ void 0
210
210
] ) ;
211
211
212
212
function v2ToJs ( param ) {
@@ -247,8 +247,8 @@ eq("File \"ast_js_mapper_poly_test.ml\", line 89, characters 5-12", $$Array.map(
247
247
7 ,
248
248
8
249
249
] ) , $$Array . append ( $$Array . append ( [
250
- undefined ,
251
- undefined
250
+ void 0 ,
251
+ void 0
252
252
] , $$Array . map ( ( function ( x ) {
253
253
return x ;
254
254
} ) , [
@@ -258,7 +258,7 @@ eq("File \"ast_js_mapper_poly_test.ml\", line 89, characters 5-12", $$Array.map(
258
258
/* C3 */ 3 ,
259
259
/* C4 */ 4 ,
260
260
/* C5 */ 5
261
- ] ) ) , [ undefined ] ) ) ;
261
+ ] ) ) , [ void 0 ] ) ) ;
262
262
263
263
Mt . from_pair_suites ( "Ast_js_mapper_poly_test" , suites . contents ) ;
264
264
0 commit comments