@@ -129,7 +129,7 @@ let isSignatureItemStart = function
129129
130130let isAtomicPatternStart = function
131131 | Token. Int _ | String _ | Codepoint _ | Backtick | Lparen | Lbracket | Lbrace
132- | Underscore | Lident _ | Uident _ | List | Exception | Lazy | Percent ->
132+ | Underscore | Lident _ | Uident _ | List | Exception | Percent ->
133133 true
134134 | _ -> false
135135
@@ -148,9 +148,9 @@ let isAtomicTypExprStart = function
148148
149149let isExprStart = function
150150 | 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() *)
154154 | While ->
155155 true
156156 | _ -> false
@@ -169,7 +169,7 @@ let isStructureItemStart = function
169169let isPatternStart = function
170170 | Token. Int _ | Float _ | String _ | Codepoint _ | Backtick | True | False
171171 | Minus | Plus | Lparen | Lbracket | Lbrace | List | Underscore | Lident _
172- | Uident _ | Hash | Exception | Lazy | Percent | Module | At ->
172+ | Uident _ | Hash | Exception | Percent | Module | At ->
173173 true
174174 | _ -> false
175175
@@ -257,10 +257,10 @@ let isJsxChildStart = isAtomicExprStart
257257
258258let isBlockExprStart = function
259259 | 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 ->
264264 true
265265 | _ -> false
266266
0 commit comments