Skip to content

Commit

Permalink
Verification que toutes les variables sont bien generiques *avant* de
Browse files Browse the repository at this point in the history
sauver l'interface d'un fichier .ml


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1415 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
  • Loading branch information
vouillon committed Mar 18, 1997
1 parent 5585ccb commit ffa0b23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion driver/compile.ml
Expand Up @@ -134,8 +134,8 @@ let implementation sourcefile =
let (dclsig, crc) = Env.read_signature modulename intf_file in
(Includemod.compunit sourcefile sg intf_file dclsig, crc)
end else begin
let crc = Env.save_signature sg modulename (prefixname ^ ".cmi") in
Typemod.check_nongen_schemes finalenv str;
let crc = Env.save_signature sg modulename (prefixname ^ ".cmi") in
(Tcoerce_none, crc)
end in
Emitcode.to_file oc modulename crc
Expand Down
2 changes: 1 addition & 1 deletion driver/optcompile.ml
Expand Up @@ -125,8 +125,8 @@ let implementation sourcefile =
let (dclsig, crc) = Env.read_signature modulename intf_file in
(Includemod.compunit sourcefile sg intf_file dclsig, crc)
end else begin
let crc = Env.save_signature sg modulename (prefixname ^ ".cmi") in
Typemod.check_nongen_schemes finalenv str;
let crc = Env.save_signature sg modulename (prefixname ^ ".cmi") in
(Tcoerce_none, crc)
end in
Compilenv.reset modulename crc;
Expand Down

0 comments on commit ffa0b23

Please sign in to comment.