Skip to content

Commit 12bd78e

Browse files
chenglouryyppy
authored andcommitted
[Super errors] Add another uncurried arity test
1 parent 78494fe commit 12bd78e

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
We've found a bug for you!
3+
/.../fixtures/arity_mismatch3.re:1:23-35
4+
5+
1 │ Belt.Array.mapU([||], (. a, b) => 1);
6+
7+
The field Js.Fn.I2 belongs to the record type Js.Fn.arity2
8+
but a field was expected belonging to the record type Js.Fn.arity1
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Belt.Array.mapU([||], (. a, b) => 1);

0 commit comments

Comments
 (0)