File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ let is_atomic_pattern_start = function
138
138
let is_atomic_expr_start = function
139
139
| Token. True | False | Int _ | String _ | Float _ | Codepoint _ | Backtick
140
140
| Uident _ | Lident _ | Hash | Lparen | List | Lbracket | Lbrace | LessThan
141
- | Module | Percent | Forwardslash | ForwardslashDot ->
141
+ | Module | Percent | Forwardslash | ForwardslashDot | Dict ->
142
142
true
143
143
| _ -> false
144
144
@@ -153,7 +153,7 @@ let is_expr_start = function
153
153
| For | Hash | If | Int _ | Lbrace | Lbracket | LessThan | Lident _ | List
154
154
| Lparen | Minus | MinusDot | Module | Percent | Plus | PlusDot | String _
155
155
| Switch | True | Try | Uident _ | Underscore (* _ => doThings() *)
156
- | While | Forwardslash | ForwardslashDot ->
156
+ | While | Forwardslash | ForwardslashDot | Dict ->
157
157
true
158
158
| _ -> false
159
159
@@ -266,7 +266,7 @@ let is_block_expr_start = function
266
266
| False | Float _ | For | Forwardslash | ForwardslashDot | Hash | If | Int _
267
267
| Lbrace | Lbracket | LessThan | Let | Lident _ | List | Lparen | Minus
268
268
| MinusDot | Module | Open | Percent | Plus | PlusDot | String _ | Switch
269
- | True | Try | Uident _ | Underscore | While ->
269
+ | True | Try | Uident _ | Underscore | While | Dict ->
270
270
true
271
271
| _ -> false
272
272
You can’t perform that action at this time.
0 commit comments