We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10902c1 commit fa802dbCopy full SHA for fa802db
vendor/ocaml-4.13/ast_mapper.ml
@@ -486,7 +486,8 @@ module P = struct
486
| Ppat_var s -> var ~loc ~attrs (map_loc sub s)
487
| Ppat_alias (p, s) -> alias ~loc ~attrs (sub.pat sub p) (map_loc sub s)
488
| Ppat_constant c -> constant ~loc ~attrs (sub.constant sub c)
489
- | Ppat_interval (c1, c2) -> interval ~loc ~attrs c1 c2
+ | Ppat_interval (c1, c2) ->
490
+ interval ~loc ~attrs (sub.constant sub c1) (sub.constant sub c2)
491
| Ppat_tuple pl -> tuple ~loc ~attrs (List.map (sub.pat sub) pl)
492
| Ppat_construct (l, p) ->
493
construct ~loc ~attrs (map_loc sub l)
0 commit comments