File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,14 +64,14 @@ let non_shadowed_pervasive_or_stdlib = function
64
64
65
65
let rec tree_of_path = function
66
66
| Pident id -> Oide_ident (ident_name id)
67
+ | Pdot (_ , s , _pos ) as path when non_shadowed_pervasive_or_stdlib path ->
68
+ Oide_ident s
67
69
| Pdot (p , s , _pos ) when String. starts_with (Path. name p) ~prefix: " Stdlib_" ->
68
70
let path_name = Path. name p in
69
71
let ident_without_stdlib_prefix =
70
72
String. sub path_name 7 (String. length path_name - 7 )
71
73
in
72
74
Oide_dot (Oide_ident ident_without_stdlib_prefix, s)
73
- | Pdot (_ , s , _pos ) as path when non_shadowed_pervasive_or_stdlib path ->
74
- Oide_ident s
75
75
| Pdot (p , s , _pos ) -> Oide_dot (tree_of_path p, s)
76
76
| Papply (p1 , p2 ) -> Oide_apply (tree_of_path p1, tree_of_path p2)
77
77
You can’t perform that action at this time.
0 commit comments