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
6464
6565let  rec  tree_of_path  =  function 
6666  |  Pident  id  -> Oide_ident  (ident_name id)
67+   |  Pdot  (_ , s , _pos ) as  path  when  non_shadowed_pervasive_or_stdlib path ->
68+     Oide_ident  s
6769  |  Pdot  (p , s , _pos ) when  String. starts_with (Path. name p) ~prefix: " Stdlib_"   ->
6870    let  path_name =  Path. name p in 
6971    let  ident_without_stdlib_prefix = 
7072      String. sub path_name 7  (String. length path_name -  7 )
7173    in 
7274    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
7575  |  Pdot  (p , s , _pos ) -> Oide_dot  (tree_of_path p, s)
7676  |  Papply  (p1 , p2 ) -> Oide_apply  (tree_of_path p1, tree_of_path p2)
7777
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments