@@ -129,7 +129,7 @@ let isSignatureItemStart = function
129
129
130
130
let isAtomicPatternStart = function
131
131
| Token. Int _ | String _ | Codepoint _ | Backtick | Lparen | Lbracket | Lbrace
132
- | Underscore | Lident _ | Uident _ | List | Exception | Lazy | Percent ->
132
+ | Underscore | Lident _ | Uident _ | List | Exception | Percent ->
133
133
true
134
134
| _ -> false
135
135
@@ -148,9 +148,9 @@ let isAtomicTypExprStart = function
148
148
149
149
let isExprStart = function
150
150
| Token. Assert | At | Await | Backtick | Bang | Codepoint _ | False | Float _
151
- | For | Hash | If | Int _ | Lazy | Lbrace | Lbracket | LessThan | Lident _
152
- | List | Lparen | Minus | MinusDot | Module | Percent | Plus | PlusDot
153
- | String _ | Switch | True | Try | Uident _ | Underscore (* _ => doThings() *)
151
+ | For | Hash | If | Int _ | Lbrace | Lbracket | LessThan | Lident _ | List
152
+ | Lparen | Minus | MinusDot | Module | Percent | Plus | PlusDot | String _
153
+ | Switch | True | Try | Uident _ | Underscore (* _ => doThings() *)
154
154
| While ->
155
155
true
156
156
| _ -> false
@@ -169,7 +169,7 @@ let isStructureItemStart = function
169
169
let isPatternStart = function
170
170
| Token. Int _ | Float _ | String _ | Codepoint _ | Backtick | True | False
171
171
| Minus | Plus | Lparen | Lbracket | Lbrace | List | Underscore | Lident _
172
- | Uident _ | Hash | Exception | Lazy | Percent | Module | At ->
172
+ | Uident _ | Hash | Exception | Percent | Module | At ->
173
173
true
174
174
| _ -> false
175
175
@@ -257,10 +257,10 @@ let isJsxChildStart = isAtomicExprStart
257
257
258
258
let isBlockExprStart = function
259
259
| Token. Assert | At | Await | Backtick | Bang | Codepoint _ | Exception
260
- | False | Float _ | For | Forwardslash | Hash | If | Int _ | Lazy | Lbrace
261
- | Lbracket | LessThan | Let | Lident _ | List | Lparen | Minus | MinusDot
262
- | Module | Open | Percent | Plus | PlusDot | String _ | Switch | True | Try
263
- | Uident _ | Underscore | While ->
260
+ | False | Float _ | For | Forwardslash | Hash | If | Int _ | Lbrace | Lbracket
261
+ | LessThan | Let | Lident _ | List | Lparen | Minus | MinusDot | Module | Open
262
+ | Percent | Plus | PlusDot | String _ | Switch | True | Try | Uident _
263
+ | Underscore | While ->
264
264
true
265
265
| _ -> false
266
266
0 commit comments