From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id BB0AD7EF28 for ; Fri, 26 Jun 2015 21:15:30 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of yallop@gmail.com) identity=pra; client-ip=209.85.217.176; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="yallop@gmail.com"; x-sender="yallop@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of yallop@gmail.com designates 209.85.217.176 as permitted sender) identity=mailfrom; client-ip=209.85.217.176; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="yallop@gmail.com"; x-sender="yallop@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-lb0-f176.google.com) identity=helo; client-ip=209.85.217.176; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="yallop@gmail.com"; x-sender="postmaster@mail-lb0-f176.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AjAgCho41VlLDZVdFBGoMwNV8GgxipQIYPjCiFeAKBOAdMAQEBAQEBEgEBAQEHCwsJHzCEIwEBBBIRBBkBGx0BAwwGBQsNAgImAgIiAREBBQEcBhMih3cBAxINOqwXPjGLP4FrgnmKeAoZJw1XhR0BAQEHAQEBARgBBQ6BE4ophQYHgmiBQwWUBIRYhnqBfI8chVUSI4EVF4QKPTEBgkcBAQE X-IPAS-Result: A0AjAgCho41VlLDZVdFBGoMwNV8GgxipQIYPjCiFeAKBOAdMAQEBAQEBEgEBAQEHCwsJHzCEIwEBBBIRBBkBGx0BAwwGBQsNAgImAgIiAREBBQEcBhMih3cBAxINOqwXPjGLP4FrgnmKeAoZJw1XhR0BAQEHAQEBARgBBQ6BE4ophQYHgmiBQwWUBIRYhnqBfI8chVUSI4EVF4QKPTEBgkcBAQE X-IronPort-AV: E=Sophos;i="5.13,686,1427752800"; d="scan'208";a="167517204" Received: from mail-lb0-f176.google.com ([209.85.217.176]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 26 Jun 2015 21:15:30 +0200 Received: by lbbvz5 with SMTP id vz5so70079811lbb.0 for ; Fri, 26 Jun 2015 12:15:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=UIU0/XXG9IzWhznOJ/VcG9xJygU3DIAX8B6THAyDLZU=; b=iKCQToHGBvOVecdxOkftF+k/YjD8eGw4EBsY3XJMRd35KrJh1U+/oXeikt3IA07y+f mkB4q5P/d8GisLDCh4I/wGnn6S0UFaefGWNYP8dEe9BELtaOEcokhdlkbwyjzqlIDvjk d+lWcqA/0FUOO7WC9BKWPoA9oBkV+gouZHarGVaOfGfHZXuAtMRVJyke1MYk6ckn6C0J Jc5JbwGvs3RXFzN52ZM1rp/rEV2FPA7LTuXF3v3pZYJitD4AQ4GBwRK8uergrA0LouUk eRlotvEy6cHN717BERMjCjmcFooVfaf2elQ95GoPsBtonds4vg94ayur4PEe0al+8bes FyHw== MIME-Version: 1.0 X-Received: by 10.152.21.193 with SMTP id x1mr2960979lae.94.1435346129422; Fri, 26 Jun 2015 12:15:29 -0700 (PDT) Received: by 10.25.169.72 with HTTP; Fri, 26 Jun 2015 12:15:29 -0700 (PDT) In-Reply-To: <558D94EB.3020902@glondu.net> References: <558D94EB.3020902@glondu.net> Date: Fri, 26 Jun 2015 20:15:29 +0100 Message-ID: From: Jeremy Yallop To: =?UTF-8?Q?St=C3=A9phane_Glondu?= Cc: caml users , Debian Ocaml Maint ML , 790062@bugs.debian.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Caml-list] Change in typing between OCaml 4.01.0 and 4.02.2... On 26 June 2015 at 19:07, St=C3=A9phane Glondu wrote: > $ cat query.mli > val make : #App.t -> unit > $ cat app.ml [...] > Query.make self; [...] > With OCaml 4.02.2, I get the following error message: > > File "app.ml", line 15, characters 6-12: > Error: This expression has type App.status > It has no method pop > > which looks wrong. With OCaml 4.01.0, there is no error. > > Does anyone understand what is going on? I think this is a result of tighter checks against self-references when compiling modules: http://caml.inria.fr/mantis/view.php?id=3D6886