-
Notifications
You must be signed in to change notification settings - Fork 464
/
Copy pathari_regress_test.js
74 lines (62 loc) · 1012 Bytes
/
ari_regress_test.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
// Generated by ReScript, PLEASE EDIT WITH CARE
'use strict';
let Mt = require("./mt.js");
let g = 7;
let h = {
contents: 0
};
function g1(x, y) {
let u = x + y | 0;
h.contents = h.contents + 1 | 0;
return (xx, yy) => (xx + yy | 0) + u | 0;
}
let u = 8;
let x = u + 6 | 0;
function v(__x) {
return g1(3, 4)(6, __x);
}
let suites_0 = [
"curry",
param => ({
TAG: "Eq",
_0: g,
_1: 7
})
];
let suites_1 = {
hd: [
"curry2",
param => ({
TAG: "Eq",
_0: 14,
_1: (v(1), v(1))
})
],
tl: {
hd: [
"curry3",
param => ({
TAG: "Eq",
_0: x,
_1: 14
})
],
tl: {
hd: [
"File \"ari_regress_test.res\", line 35, characters 5-12",
param => ({
TAG: "Eq",
_0: h.contents,
_1: 2
})
],
tl: /* [] */0
}
}
};
let suites = {
hd: suites_0,
tl: suites_1
};
Mt.from_pair_suites("Ari_regress_test", suites);
/* Not a pure module */