From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by sympa.inria.fr (Postfix) with ESMTPS id D376F7ED7A for ; Mon, 3 Sep 2012 22:39:32 +0200 (CEST) Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of jp.deplaix@gmail.com) identity=pra; client-ip=209.85.215.182; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="jp.deplaix@gmail.com"; x-sender="jp.deplaix@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail1-smtp-roc.national.inria.fr: domain of jp.deplaix@gmail.com designates 209.85.215.182 as permitted sender) identity=mailfrom; client-ip=209.85.215.182; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="jp.deplaix@gmail.com"; x-sender="jp.deplaix@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-ey0-f182.google.com) identity=helo; client-ip=209.85.215.182; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="jp.deplaix@gmail.com"; x-sender="postmaster@mail-ey0-f182.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlICAKoURVDRVde2k2dsb2JhbABFhT5HtRYIIgEBAQEHCwsJFAQjgjkCDwQZARscAgMSEA8CBRYLAgsDAgECARERAQUBLwgBAR6HWwEDDAQHmHSCYQkDi1RPgnOEdgoZJw1ZiHMBBQyBFY1zggqBEgOVWYEUhEuIXT6EBQ X-IronPort-AV: E=Sophos;i="4.80,361,1344204000"; d="scan'208";a="171729711" Received: from mail-ey0-f182.google.com ([209.85.215.182]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 03 Sep 2012 22:39:32 +0200 Received: by eaak11 with SMTP id k11so2195301eaa.27 for ; Mon, 03 Sep 2012 13:39:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; bh=ZWpKYmlref3tPHDLov6zkWGRD6ykowfYsYmCbM3MLkg=; b=Ib9klz8aU8Brkjr9y9pv3U1GZt+XJ9sQ4x36jLCzcK03YqIqKvaFtDKT4h31iBOBmL LAbfeYqnn+jeKbE2b/4mc0LeIanyffGdnJa1ADHWXLKKGjDOWtkESfVs8qkZTG7KyRiG E7YxRZ8Xh31rtP5sBOm/YexPFvu72AaNToBUu3k1YTn2ZN7jAk7aPb5jf5kEEX5IkWnF N7f8aFkjgFu36S/u6jmQFIAlpGiKo/2nobvW7pSIwolPsPAQA5F9v9ZpCiVbax/qbdMk x1zgdjesqvhvbYWiElZRfjlvb8x2/3ISPv9FnbBZjTI1/md2EVj/LcBm84y0Sewht4Y9 RdZg== Received: by 10.14.202.66 with SMTP id c42mr23483256eeo.35.1346704772056; Mon, 03 Sep 2012 13:39:32 -0700 (PDT) Received: from [192.168.1.10] (AMontsouris-159-1-95-79.w92-140.abo.wanadoo.fr. [92.140.78.79]) by mx.google.com with ESMTPS id i8sm39535722eeo.16.2012.09.03.13.39.31 (version=SSLv3 cipher=OTHER); Mon, 03 Sep 2012 13:39:31 -0700 (PDT) Message-ID: <50451582.6080805@gmail.com> Date: Mon, 03 Sep 2012 22:39:30 +0200 From: Jacques-Pascal Deplaix User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120828 Thunderbird/15.0 MIME-Version: 1.0 To: caml-list@inria.fr X-Enigmail-Version: 1.4.4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: [Caml-list] ocaml-4.00.0 compilation problem with first class modules and optional parameters 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