Skip to content

Commit dbe8153

Browse files
committed
update output
1 parent efc6936 commit dbe8153

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tests/build_tests/super_errors/expected/promise_needs_await.res.expected

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11

22
We've found a bug for you!
3-
/.../fixtures/promise_needs_await.res:9:3-5
3+
/.../fixtures/promise_needs_await.res:7:3-5
44

5-
7 │ let x = () => {
6-
8 │ let res = Promise.resolve({one: "hi"})
7-
9 │ res.one
8-
10 │ }
5+
5 │ let x = () => {
6+
6 │ let res = Promise.resolve({one: "hi"})
7+
7 │ res.one
8+
8 │ }
9+
9 │
910

1011
This has type: Promise.t<record> (defined as promise<record>)
1112
But it's expected to have type: record

0 commit comments

Comments
 (0)