Skip to content

Commit 5834241

Browse files
committed
snapshot
1 parent 1701f99 commit 5834241

File tree

133 files changed

+2339
-2336
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+2339
-2336
lines changed

jscomp/test/block_alias_test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var v1 = {
3838

3939
var N = {
4040
Block: Block$1,
41-
v1
41+
v1: v1
4242
};
4343

4444
var Caml_obj$1 = {};

jscomp/test/caml_format_test.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -1850,13 +1850,13 @@ var string_of_lambda = Curry._1(Format.asprintf(/* Format */{
18501850
}), pr_lambda);
18511851

18521852
var Lambda_suites = {
1853-
ident,
1854-
kwd,
1855-
pr_exp0,
1856-
pr_app,
1857-
pr_other_applications,
1858-
pr_lambda,
1859-
string_of_lambda
1853+
ident: ident,
1854+
kwd: kwd,
1855+
pr_exp0: pr_exp0,
1856+
pr_app: pr_app,
1857+
pr_other_applications: pr_other_applications,
1858+
pr_lambda: pr_lambda,
1859+
string_of_lambda: string_of_lambda
18601860
};
18611861

18621862
var lambda_suites = [

jscomp/test/defunctor_make_test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ function Make(M) {
1111
}
1212

1313
var Comparable = {
14-
getcompare,
15-
Make
14+
getcompare: getcompare,
15+
Make: Make
1616
};
1717

1818
function height(param) {
@@ -143,7 +143,7 @@ function empty(v) {
143143
var compare = Caml_primitive.caml_int_compare;
144144

145145
var V0 = {
146-
compare
146+
compare: compare
147147
};
148148

149149
var compare$1 = Caml_primitive.caml_int_compare;

jscomp/test/demo.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function ui_layout(compile, lookup, appContext) {
4949
var mk_titleRow = function (text) {
5050
return {
5151
label: {
52-
text
52+
text: text
5353
}
5454
};
5555
};
@@ -109,8 +109,8 @@ function ui_layout(compile, lookup, appContext) {
109109
var bid = price + 20 * Math.random();
110110
var ask = price + 20 * Math.random();
111111
var result = Curry._1(computeFunction.contents, {
112-
bid,
113-
ask
112+
bid: bid,
113+
ask: ask
114114
});
115115
return [
116116
mk_titleRow(param.ticker),

jscomp/test/demo_int_map.js

+8-8
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ function create(l, x, d, r) {
1313
var hl = height(l);
1414
var hr = height(r);
1515
return /* Node */{
16-
l,
16+
l: l,
1717
v: x,
18-
d,
19-
r,
18+
d: d,
19+
r: r,
2020
h: hl >= hr ? hl + 1 | 0 : hr + 1 | 0
2121
};
2222
}
@@ -50,10 +50,10 @@ function bal(l, x, d, r) {
5050
}
5151
if (hr <= (hl + 2 | 0)) {
5252
return /* Node */{
53-
l,
53+
l: l,
5454
v: x,
55-
d,
56-
r,
55+
d: d,
56+
r: r,
5757
h: hl >= hr ? hl + 1 | 0 : hr + 1 | 0
5858
};
5959
}
@@ -101,10 +101,10 @@ function add(x, data, m) {
101101
return m;
102102
} else {
103103
return /* Node */{
104-
l,
104+
l: l,
105105
v: x,
106106
d: data,
107-
r,
107+
r: r,
108108
h: m.h
109109
};
110110
}

jscomp/test/exception_alias.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ var List$1 = {
6666
fast_sort: List.fast_sort,
6767
sort_uniq: List.sort_uniq,
6868
merge: List.merge,
69-
b,
69+
b: b,
7070
length: 3
7171
};
7272

jscomp/test/exception_rebind_test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var Caml_exceptions = require("../../lib/js/caml_exceptions.js");
66
var E = Caml_exceptions.create("Exception_rebind_test.A.E");
77

88
var A = {
9-
E
9+
E: E
1010
};
1111

1212
var B = {

jscomp/test/extensible_variant_test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ var Str = Caml_exceptions.create("Extensible_variant_test.Str");
88
var Int = Caml_exceptions.create("Extensible_variant_test.N.Int");
99

1010
var N = {
11-
Int
11+
Int: Int
1212
};
1313

1414
var Int$1 = Caml_exceptions.create("Extensible_variant_test.Int");

jscomp/test/flexible_array_test.js

+12-12
Original file line numberDiff line numberDiff line change
@@ -287,18 +287,18 @@ function of_array(arr) {
287287
var equal = Caml_obj.caml_equal;
288288

289289
var Int_array = {
290-
empty,
291-
get,
292-
set,
293-
push_front,
294-
pop_front,
295-
push_back,
296-
pop_back,
297-
pp,
298-
append,
299-
sort,
300-
of_array,
301-
equal
290+
empty: empty,
291+
get: get,
292+
set: set,
293+
push_front: push_front,
294+
pop_front: pop_front,
295+
push_back: push_back,
296+
pop_back: pop_back,
297+
pp: pp,
298+
append: append,
299+
sort: sort,
300+
of_array: of_array,
301+
equal: equal
302302
};
303303

304304
function $eq$tilde(x, y) {

0 commit comments

Comments
 (0)