Permalink
Browse files

Annotations to first-class modules for OCaml 3.12

OCaml 3.12 does not support inference of the type of first-class
modules.
  • Loading branch information...
1 parent a4bb105 commit 9cbd8aeaf321b484e3913033681d41b78dca00a3 @kerneis kerneis committed Jun 30, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ext/pta/ptranal.ml
View
@@ -53,7 +53,7 @@ let olf_option =
module type OLF = module type of Olf
module A =
(val (Util.parse_argv_skip_unknown olf_option ignore;
- if !olf_backend then (module Olf) else (module Golf)): OLF)
+ if !olf_backend then (module Olf : OLF) else (module Golf : OLF)): OLF)
exception UnknownLocation = A.UnknownLocation

0 comments on commit 9cbd8ae

Please sign in to comment.