Skip to content

Commit 10ffa44

Browse files
committed
test
1 parent 5c59f16 commit 10ffa44

16 files changed

+139
-132
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
We've found a bug for you!
3+
/.../fixtures/cuc.res:3:5-5:1
4+
5+
1 │ module Foo: {
6+
2 │ let addCC: (. int, int) => int
7+
3 │ } = {
8+
4 │  let addCC = (a, b) => a + b
9+
5 │ }
10+
6 │
11+
12+
Signature mismatch:
13+
Modules do not match:
14+
{
15+
let addCC: (int, int) => int
16+
}
17+
is not included in
18+
{
19+
let addCC: (. int, int) => int
20+
}
21+
Values do not match:
22+
let addCC: (int, int) => int (curried)
23+
is not included in
24+
let addCC: (. int, int) => int (uncurried)
25+
/.../fixtures/cuc.res:2:3-32:
26+
Expected declaration
27+
/.../fixtures/cuc.res:4:7-11:
28+
Actual declaration

jscomp/build_tests/super_errors/expected/curried_value_instead_of_uncurried_in_curried_mode.res.expected

Lines changed: 0 additions & 28 deletions
This file was deleted.

jscomp/build_tests/super_errors/expected/curried_value_instead_of_uncurried_in_uncurried_mode.res.expected

Lines changed: 0 additions & 29 deletions
This file was deleted.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
2+
We've found a bug for you!
3+
/.../fixtures/cuu.res:5:5-8:1
4+
5+
3 │ module Foo: {
6+
4 │ let addCU: (int, int) => int
7+
5 │ } = {
8+
6 │  @@uncurried.swap
9+
7 │  let addCU = (. a, b) => a + b
10+
8 │ }
11+
9 │
12+
13+
Signature mismatch:
14+
Modules do not match:
15+
{
16+
let addCU: (int, int) => int
17+
}
18+
is not included in
19+
{
20+
let addCU: (int, int) => int
21+
}
22+
Values do not match:
23+
let addCU: (int, int) => int (curried)
24+
is not included in
25+
let addCU: (int, int) => int (uncurried)
26+
/.../fixtures/cuu.res:4:3-30:
27+
Expected declaration
28+
/.../fixtures/cuu.res:7:7-11:
29+
Actual declaration
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
We've found a bug for you!
3+
/.../fixtures/ucc.res:3:5-5:1
4+
5+
1 │ module Foo: {
6+
2 │ let addUC: (int, int) => int
7+
3 │ } = {
8+
4 │  let addUC = (. a, b) => a + b
9+
5 │ }
10+
6 │
11+
12+
Signature mismatch:
13+
Modules do not match:
14+
{
15+
let addUC: (. int, int) => int
16+
}
17+
is not included in
18+
{
19+
let addUC: (int, int) => int
20+
}
21+
Values do not match:
22+
let addUC: (. int, int) => int (uncurried)
23+
is not included in
24+
let addUC: (int, int) => int (curried)
25+
/.../fixtures/ucc.res:2:3-30:
26+
Expected declaration
27+
/.../fixtures/ucc.res:4:7-11:
28+
Actual declaration
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
We've found a bug for you!
3+
/.../fixtures/ucu.res:6:5-8:1
4+
5+
4 │ @@uncurried.swap
6+
5 │ let addUU: (. int, int) => int
7+
6 │ } = {
8+
7 │  let addUU = (a, b) => a + b
9+
8 │ }
10+
9 │
11+
12+
Signature mismatch:
13+
Modules do not match:
14+
{
15+
let addUU: (int, int) => int
16+
}
17+
is not included in
18+
{
19+
let addUU: (int, int) => int
20+
}
21+
Values do not match:
22+
let addUU: (int, int) => int (uncurried)
23+
is not included in
24+
let addUU: (int, int) => int (curried)
25+
/.../fixtures/ucu.res:5:3-32:
26+
Expected declaration
27+
/.../fixtures/ucu.res:7:7-11:
28+
Actual declaration

jscomp/build_tests/super_errors/expected/uncurried_value_instead_of_curried_in_curried_mode.res.expected

Lines changed: 0 additions & 28 deletions
This file was deleted.

jscomp/build_tests/super_errors/expected/uncurried_value_instead_of_curried_in_uncurried_mode.res.expected

Lines changed: 0 additions & 21 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module Foo: {
2+
let addCC: (. int, int) => int
3+
} = {
4+
let addCC = (a, b) => a + b
5+
}

jscomp/build_tests/super_errors/fixtures/curried_value_instead_of_uncurried_in_curried_mode.res

Lines changed: 0 additions & 5 deletions
This file was deleted.

jscomp/build_tests/super_errors/fixtures/curried_value_instead_of_uncurried_in_uncurried_mode.res

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@@uncurried
2+
3+
module Foo: {
4+
let addCU: (int, int) => int
5+
} = {
6+
@@uncurried.swap
7+
let addCU = (. a, b) => a + b
8+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module Foo: {
2+
let addUC: (int, int) => int
3+
} = {
4+
let addUC = (. a, b) => a + b
5+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@@uncurried
2+
3+
module Foo: {
4+
@@uncurried.swap
5+
let addUU: (. int, int) => int
6+
} = {
7+
let addUU = (a, b) => a + b
8+
}

jscomp/build_tests/super_errors/fixtures/uncurried_value_instead_of_curried_in_curried_mode.res

Lines changed: 0 additions & 5 deletions
This file was deleted.

jscomp/build_tests/super_errors/fixtures/uncurried_value_instead_of_curried_in_uncurried_mode.res

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)