caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Lukasz Stafiniak <lukstafi@gmail.com>
To: "Török Edwin" <edwin+ml-ocaml@etorok.net>
Cc: Caml <caml-list@inria.fr>
Subject: Re: [Caml-list] duplicate labels
Date: Tue, 17 Sep 2013 15:01:33 +0200	[thread overview]
Message-ID: <CAJMfKEVXzWHePtquSmSD4SXv7PzFXgJHWNmoMCoZ+Bc11_P=xA@mail.gmail.com> (raw)
In-Reply-To: <52385142.7030402@etorok.net>

[-- Attachment #1: Type: text/plain, Size: 802 bytes --]

I reported this a couple of years ago:
http://caml.inria.fr/mantis/view.php?id=4904


On Tue, Sep 17, 2013 at 2:55 PM, Török Edwin <edwin+ml-ocaml@etorok.net>wrote:

> 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
>
> --
> 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
>

[-- Attachment #2: Type: text/html, Size: 1553 bytes --]

  reply	other threads:[~2013-09-17 13:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-17 12:55 Török Edwin
2013-09-17 13:01 ` Lukasz Stafiniak [this message]
2013-09-17 13:09 ` Gabriel Scherer
2013-09-17 13:49   ` Török Edwin
2013-09-19  9:29     ` Goswin von Brederlow
2013-09-19 10:39       ` Lukasz Stafiniak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJMfKEVXzWHePtquSmSD4SXv7PzFXgJHWNmoMCoZ+Bc11_P=xA@mail.gmail.com' \
    --to=lukstafi@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=edwin+ml-ocaml@etorok.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).