Skip to content

Commit 3003c8d

Browse files
committed
update super_errors message
1 parent ff7e014 commit 3003c8d

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11

2-
Warning number 5
2+
We've found a bug for you!
33
/.../fixtures/warnings1.re 3:3-7
44

55
1 │ let x = (a, b) => a + b;
66
2 │ let z = () => {
7-
3 │ x(10);
7+
3 │ x(10);
88
4 │ 10
99
5 │ };
1010

11-
this function application is partial,
12-
maybe some arguments are missing.
11+
This has type:
12+
int => int
13+
But somewhere wanted:
14+
unit
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11

2-
Warning number 10
2+
We've found a bug for you!
33
/.../fixtures/warnings2.re 2:3-4
44

55
1 │ let z = () => {
6-
2 │ 10;
6+
2 │ 10;
77
3 │ 10
88
4 │ };
99

10-
This expression returns a value, but you're not doing anything with it. If this is on purpose, wrap it with `ignore`.
10+
This has type:
11+
int
12+
But somewhere wanted:
13+
unit

0 commit comments

Comments
 (0)