caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] duplicate labels
@ 2013-09-17 12:55 Török Edwin
  2013-09-17 13:01 ` Lukasz Stafiniak
  2013-09-17 13:09 ` Gabriel Scherer
  0 siblings, 2 replies; 6+ messages in thread
From: Török Edwin @ 2013-09-17 12:55 UTC (permalink / raw)
  To: caml-list

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-09-19 10:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-17 12:55 [Caml-list] duplicate labels Török Edwin
2013-09-17 13:01 ` Lukasz Stafiniak
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

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