ocamllabs / ocaml-effects

*DEPRECATED: See ocaml-multicore/ocaml-multicore* OCaml effects handlers
Other
27 stars 4 forks source link

wrong type inference for effect #14

Closed objmagic closed 8 years ago

objmagic commented 8 years ago

open this issue just as a reminder

For file test.ml:

module M = struct
  effect E : int * string -> unit
end

ocamlc -i test.ml gives:

module M : sig effect E : string * int -> unit end

I can confirm this is not a printer bug

kayceesrk commented 8 years ago

Fixed by f2a7cba.