Skip to content

Commit 401d630

Browse files
committed
format
1 parent b167877 commit 401d630

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

tests/build_tests/super_errors/expected/optional_record_field_pass_option.res.expected

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11

22
We've found a bug for you!
3-
/.../fixtures/optional_record_field_pass_option.res:6:16
3+
/.../fixtures/optional_record_field_pass_option.res:4:16
44

5-
4 │ let t = Some(true)
5+
2 │ let t = Some(true)
6+
3 │
7+
4 │ let x = {test: t}
68
5 │
7-
6 │ let x = {test: t}
89

910
This has type: option<bool>
1011
But this record field test is expected to have type: bool
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
type record = {
2-
test?: bool
3-
}
1+
type record = {test?: bool}
42
let t = Some(true)
53

6-
let x = {test: t}
4+
let x = {test: t}

0 commit comments

Comments
 (0)