File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -137,8 +137,8 @@ let isAtomicPatternStart = function
137
137
138
138
let isAtomicExprStart = function
139
139
| Token. True | False | Int _ | String _ | Float _ | Codepoint _ | Backtick
140
- | Uident _ | Lident _ | Hash | Lparen | List | Lbracket | Lbrace | LessThan
141
- | Module | Percent ->
140
+ | Uident _ | Lident _ | Hash | Lparen | List | Dict | Lbracket | Lbrace
141
+ | LessThan | Module | Percent ->
142
142
true
143
143
| _ -> false
144
144
@@ -153,7 +153,7 @@ let isExprStart = 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 ->
156
+ | While | Dict ->
157
157
true
158
158
| _ -> false
159
159
@@ -266,7 +266,7 @@ let isBlockExprStart = function
266
266
| False | Float _ | For | Forwardslash | Hash | If | Int _ | Lbrace | Lbracket
267
267
| LessThan | Let | Lident _ | List | Lparen | Minus | MinusDot | Module | Open
268
268
| Percent | Plus | PlusDot | String _ | Switch | True | Try | Uident _
269
- | Underscore | While ->
269
+ | Underscore | While | Dict ->
270
270
true
271
271
| _ -> false
272
272
You can’t perform that action at this time.
0 commit comments