caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* warning on value shadowing
@ 2007-02-21 20:41 Sam Steingold
  2007-02-21 20:57 ` [Caml-list] " Christian Lindig
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Sam Steingold @ 2007-02-21 20:41 UTC (permalink / raw)
  To: caml-list

Proposal:
When both foo.ml and bar.ml define zot and quux.ml opens both Foo and 
Bar, there should be a warning (when compiling quux) about Foo.zot being 
shadowed by Bar.zot (or vice versa, depending on the order of the open 
statements).
If you think this is an overkill, please at least consider issuing the 
warning when zot is used in quux.ml.
If you think that is also an overkill, please at least consider issuing 
the warning when foo=quux.


^ permalink raw reply	[flat|nested] 18+ messages in thread
[parent not found: <20070221223151.97901BC76@yquem.inria.fr>]

end of thread, other threads:[~2007-02-25  0:23 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-21 20:41 warning on value shadowing Sam Steingold
2007-02-21 20:57 ` [Caml-list] " Christian Lindig
2007-02-21 21:10   ` Sam Steingold
2007-02-21 21:51     ` David Brown
2007-02-21 22:04       ` Sam Steingold
2007-02-21 22:13         ` [Caml-list] " David Brown
2007-02-21 23:15       ` [Caml-list] " skaller
2007-02-21 22:25 ` Jon Harrop
2007-02-23 20:40   ` Sam Steingold
2007-02-22  0:54 ` [Caml-list] " Jacques Garrigue
2007-02-22  1:09   ` David Brown
2007-02-23 15:12     ` Wolfgang Lux
2007-02-23 20:51   ` Sam Steingold
2007-02-24  3:31     ` [Caml-list] " skaller
2007-02-25  0:23       ` Sam Steingold
     [not found] <20070221223151.97901BC76@yquem.inria.fr>
2007-02-21 22:56 ` [Caml-list] " David Allsopp
2007-02-21 23:20   ` skaller
2007-02-22  0:19   ` Jon Harrop

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