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 194327EE49 for ; Tue, 17 Sep 2013 14:55:35 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of edwin+ml-ocaml@etorok.net) identity=pra; client-ip=176.9.138.55; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="edwin+ml-ocaml@etorok.net"; x-sender="edwin+ml-ocaml@etorok.net"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of edwin+ml-ocaml@etorok.net designates 176.9.138.55 as permitted sender) identity=mailfrom; client-ip=176.9.138.55; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="edwin+ml-ocaml@etorok.net"; x-sender="edwin+ml-ocaml@etorok.net"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of postmaster@mail.etorok.net designates 176.9.138.55 as permitted sender) identity=helo; client-ip=176.9.138.55; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="edwin+ml-ocaml@etorok.net"; x-sender="postmaster@mail.etorok.net"; x-conformance=sidf_compatible; x-record-type="v=spf1" X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjgFAAdQOFKwCYo3/2dsb2JhbABbgwfDPBZ0gmwBATYCOxYYAwIBAgE/GQgCiAOnYoRMAQWNfgaQBIQIiTWOSYYwi0SDJw X-IPAS-Result: AjgFAAdQOFKwCYo3/2dsb2JhbABbgwfDPBZ0gmwBATYCOxYYAwIBAgE/GQgCiAOnYoRMAQWNfgaQBIQIiTWOSYYwi0SDJw X-IronPort-AV: E=Sophos;i="4.90,923,1371074400"; d="scan'208";a="33219750" Received: from mail.etorok.net ([176.9.138.55]) by mail2-smtp-roc.national.inria.fr with ESMTP; 17 Sep 2013 14:55:33 +0200 Received: from [172.30.42.25] (unknown [79.114.59.137]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.etorok.net (Postfix) with ESMTPSA id C5E6646D8 for ; Tue, 17 Sep 2013 14:55:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=etorok.net; s=mailout; t=1379422531; bh=Tqw03c8tyTsarbwi/tWPkqvmBnWtbxLhDOW1tPCF2uI=; l=361; h=Date:From:To:From; b=U63X2f98U/QY8UQ2Uxz5l5O1sTbydPLo4g4Cry8Konrcc89chSZAOOftUP2ETsa6Y V1q1ngbMU/UKCuO8niYTNq1B36LdIoos0+cmU8mb5YJ3Taq8TV5E9D7x7YSNasydSW o3zHGIsGiH831nieGeUG7SVgMJS8M680/6KNzHMo= Message-ID: <52385142.7030402@etorok.net> Date: Tue, 17 Sep 2013 15:55:30 +0300 From: =?ISO-8859-1?Q?T=F6r=F6k_Edwin?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130821 Icedove/17.0.8 MIME-Version: 1.0 To: caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.8 at mail X-Virus-Status: Clean Subject: [Caml-list] duplicate labels Hi, The following is accepted: let foo ~x ~x () = () let () = 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