Skip to content

Commit 85a34fa

Browse files
committed
Update spread.res.txt
1 parent d267aca commit 85a34fa

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

res_syntax/tests/parsing/errors/other/expected/spread.res.txt

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -62,19 +62,6 @@ Solution: you need to pull out each field you want explicitly.
6262
Explanation: a list spread at the tail is efficient, but a spread in the middle would create new lists; out of performance concern, our pattern matching currently guarantees to never create new intermediate data.
6363

6464

65-
Syntax error!
66-
tests/parsing/errors/other/spread.res:9:16-10:4
67-
68-
7 │ let list{...x, ...y} = myList
69-
8 │
70-
9 │ type t = {...a}
71-
10 │ type t = Foo({...a})
72-
11 │ type t = option<foo, {...x}>
73-
12 │
74-
75-
Did you forget a `}` here?
76-
77-
7865
Syntax error!
7966
tests/parsing/errors/other/spread.res:10:20
8067

0 commit comments

Comments
 (0)