Permalink
Browse files

[fix] objectFiles: is_stdlib_package wasn't up to date

  • Loading branch information...
1 parent f0fe783 commit 7135fa208fdb09b2f880abbcb0715a7560f311ba Valentin Gatien-Baron committed Jun 27, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 compilerlib/objectFiles.ml
View
3 compilerlib/objectFiles.ml
@@ -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

0 comments on commit 7135fa2

Please sign in to comment.