caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] ocaml-4.00.0 compilation problem with first class modules and optional parameters
@ 2012-09-03 20:39 Jacques-Pascal Deplaix
  2012-09-04  2:54 ` Jacques Garrigue
  0 siblings, 1 reply; 3+ messages in thread
From: Jacques-Pascal Deplaix @ 2012-09-03 20:39 UTC (permalink / raw)
  To: caml-list

Hi,

I have met some compilation problem when I tried to compile ocsimore
with ocaml-4.00.0:

  Error: This expression has type
    ?href_action:Wiki_syntax_types.link_action ->
    ?link_action:Wiki_syntax_types.link_action ->
    Wiki_syntax_types.desugar_param -> string -> string Lwt.t
  but an expression was expected of type
    Wiki_syntax_types.desugar_param -> string -> string Lwt.t

It's really a weird error. I tried to reproduce it in a small test-case
but I didn't succeed.

I made a patch for it in ocsimore, but it's really dirty/useless:
http://ocsigen.org/darcsweb/?r=ocsimore;a=commitdiff;h=20120903152205-a85e5-00b22d6e2abc7c666a7700d70e3190e6aefbfd7e.gz

If someone can tell me if it's an ocaml bug or something else.

Cheers,
Jacques-Pascal Deplaix

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-06  7:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-03 20:39 [Caml-list] ocaml-4.00.0 compilation problem with first class modules and optional parameters Jacques-Pascal Deplaix
2012-09-04  2:54 ` Jacques Garrigue
2012-09-06  7:30   ` Jacques-Pascal Deplaix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).