Skip to content

Commit

Permalink
[fix] objectFiles: is_stdlib_package wasn't up to date
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Gatien-Baron committed Jun 28, 2011
1 parent f0fe783 commit 7135fa2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compilerlib/objectFiles.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1741,7 +1741,8 @@ let load ?(extrajs=[]) ~no_stdlib extract_package_decl extract_more_deps filenam
* that the compiler can call
* ie the global map will only contain identifiers from these packages *)
let stdlib_package_names name =
(String.is_prefix "stdlib." name)
(String.is_prefix "stdlib.core." name)
|| ("stdlib.core" = name)
|| (not (is_separated ()))

let stdlib_packages (package_name,_pos) = stdlib_package_names package_name
Expand Down

0 comments on commit 7135fa2

Please sign in to comment.