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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id E843B7EE4A for ; Tue, 17 Sep 2013 15:01:54 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of lukstafi@gmail.com) identity=pra; client-ip=209.85.128.178; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="lukstafi@gmail.com"; x-sender="lukstafi@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of lukstafi@gmail.com designates 209.85.128.178 as permitted sender) identity=mailfrom; client-ip=209.85.128.178; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="lukstafi@gmail.com"; x-sender="lukstafi@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-ve0-f178.google.com) identity=helo; client-ip=209.85.128.178; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="lukstafi@gmail.com"; x-sender="postmaster@mail-ve0-f178.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgIDAGBSOFLRVYCylGdsb2JhbABBGoM/UoRIqXuKD4hEgRUIFg4BAQEBBwsLCRIqgiUBAQQBDDQBGxILAQMBCwYFBAEGGiEiAREBBQEKEgYTEodeAQMJBgw2nBiMUYMHhCgKGScDCmSIHgEFDI9XBAeEHgOXe4EvjlwYKYROOg X-IPAS-Result: AgIDAGBSOFLRVYCylGdsb2JhbABBGoM/UoRIqXuKD4hEgRUIFg4BAQEBBwsLCRIqgiUBAQQBDDQBGxILAQMBCwYFBAEGGiEiAREBBQEKEgYTEodeAQMJBgw2nBiMUYMHhCgKGScDCmSIHgEFDI9XBAeEHgOXe4EvjlwYKYROOg X-IronPort-AV: E=Sophos;i="4.90,923,1371074400"; d="scan'208";a="33220935" Received: from mail-ve0-f178.google.com ([209.85.128.178]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 17 Sep 2013 15:01:53 +0200 Received: by mail-ve0-f178.google.com with SMTP id jw12so4071770veb.37 for ; Tue, 17 Sep 2013 06:01:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=SQlnTe22mxsQdE+9zsRSERiK7e/n+BuRulCfVnGUWS0=; b=fMH11Nwsqs6+s09bNHpBpx37Fk0GSiisFs2VFg0gjbHK74yBKcx6heRsVKj+opdTSV EvZgfvHI7nVIj9Tcri5Bmn+NX3EWBt+qYRToRVbk9I3Yn8Quxmg5XoRit+cnVhAuaItb iwl95clsjTJQgjLZOaMTjyq5VS3b3m2DHmxRFeKy1GokYuKyg6xJjSdizWQY+jV72mah QRpXk/y3zJ7Pza7k0E/526TjYHUFaQg4R1nd/AmHa489gv3r7mhGVm0+ASX/zLXf3E5e XjsOtsfgh+rtFFy3ut4/BuPqFMhmh4F6uyxfuDq9uPYERIGUpsv5xhm0kKuB//U/m/I1 bGJQ== X-Received: by 10.220.91.16 with SMTP id k16mr1628521vcm.21.1379422913438; Tue, 17 Sep 2013 06:01:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.191.5 with HTTP; Tue, 17 Sep 2013 06:01:33 -0700 (PDT) In-Reply-To: <52385142.7030402@etorok.net> References: <52385142.7030402@etorok.net> From: Lukasz Stafiniak Date: Tue, 17 Sep 2013 15:01:33 +0200 Message-ID: To: =?ISO-8859-1?Q?T=F6r=F6k_Edwin?= Cc: Caml Content-Type: multipart/alternative; boundary=047d7b343f1ac0317a04e693ec97 Subject: Re: [Caml-list] duplicate labels --047d7b343f1ac0317a04e693ec97 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I reported this a couple of years ago: http://caml.inria.fr/mantis/view.php?id=3D4904 On Tue, Sep 17, 2013 at 2:55 PM, T=F6r=F6k Edwin wrote: > Hi, > > The following is accepted: > > let foo ~x ~x () =3D () > let () =3D > foo ~x:4 ~x:5 () > > I tried -w A and I got no warnings with OCaml 4.01.0, is this intended? > Should I file a feature request to get a warning for this situation? > > (How I got in this situation: I did an overly eager search/replace that > caused the duplicate ~x) > > Best regards, > --Edwin > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > --047d7b343f1ac0317a04e693ec97 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I reported this a couple of years ago:
http://caml.inria.fr/mantis/vie= w.php?id=3D4904


On Tue, Sep 17, 2013 at 2:55 PM, T=F6r=F6k Edwin <edwin+ml-ocaml@e= torok.net> wrote:
Hi,

The following is accepted:

let foo ~x ~x () =3D ()
let () =3D
=A0 foo ~x:4 ~x:5 ()

I tried -w A and I got no warnings with OCaml 4.01.0, is this intended?
Should I file a feature request to get a warning for this situation?

(How I got in this situation: I did an overly eager search/replace that cau= sed the duplicate ~x)

Best regards,
--Edwin

--
Caml-list mailing list. =A0Subscription management and archives:
ht= tps://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

--047d7b343f1ac0317a04e693ec97--