Skip to content

Commit 8fc1080

Browse files
committed
More pervasives
1 parent d86e435 commit 8fc1080

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

analysis/src/CompletionBackEnd.ml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,15 +1332,7 @@ let getOpens ~debug ~rawOpens ~package ~env =
13321332
^ " "
13331333
^ String.concat " "
13341334
(resolvedOpens
1335-
|> List.map (fun (e : QueryEnv.t) ->
1336-
let name = Uri.toString e.file.uri in
1337-
1338-
(* Unify formatting between curried and uncurried *)
1339-
if
1340-
name = "pervasives.res" || name = "pervasives.resi"
1341-
|| name = "pervasivesU.res" || name = "pervasivesU.resi"
1342-
then "pervasives"
1343-
else name)));
1335+
|> List.map (fun (e : QueryEnv.t) -> Uri.toString e.file.uri)));
13441336
(* Last open takes priority *)
13451337
List.rev resolvedOpens
13461338

0 commit comments

Comments
 (0)