File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5935,15 +5935,15 @@ and parse_polymorphic_variant_type_spec_hash ~attrs ~full p :
5935
5935
let ident, loc = parse_hash_ident ~start_pos p in
5936
5936
let rec loop p =
5937
5937
match p.Parser. token with
5938
- | Band when full ->
5938
+ | Ampersand when full ->
5939
5939
Parser. next p;
5940
5940
let row_field = parse_polymorphic_variant_type_args p in
5941
5941
row_field :: loop p
5942
5942
| _ -> []
5943
5943
in
5944
5944
let first_tuple, tag_contains_a_constant_empty_constructor =
5945
5945
match p.Parser. token with
5946
- | Band when full ->
5946
+ | Ampersand when full ->
5947
5947
Parser. next p;
5948
5948
([parse_polymorphic_variant_type_args p], true )
5949
5949
| Lparen -> ([parse_polymorphic_variant_type_args p], false )
Original file line number Diff line number Diff line change @@ -855,7 +855,7 @@ let rec scan scanner =
855
855
Token. Land
856
856
| _ ->
857
857
next scanner;
858
- Token. Band )
858
+ Token. Ampersand )
859
859
| '^' -> (
860
860
match (peek scanner, peek2 scanner) with
861
861
| '^' , '^' ->
You can’t perform that action at this time.
0 commit comments