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 751eb03 commit 76bd849Copy full SHA for 76bd849
jscomp/ml/dicts.ml
@@ -1,11 +1,10 @@
1
let has_dict_pattern_attribute attrs =
2
attrs
3
|> List.find_opt (fun (({txt}, _) : Parsetree.attribute) ->
4
- txt = "res.dictPattern")
+ txt = "res.dictPattern")
5
|> Option.is_some
6
7
let has_dict_attribute attrs =
8
- attrs
9
- |> List.find_opt (fun (({txt}, _) : Parsetree.attribute) ->
10
- txt = "res.dict")
11
- |> Option.is_some
+ attrs
+ |> List.find_opt (fun (({txt}, _) : Parsetree.attribute) -> txt = "res.dict")
+ |> Option.is_some
0 commit comments