Browse thread
Warning wished
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2009-01-28 (13:52) |
From: | Julien SIGNOLES <julien.signoles@c...> |
Subject: | Warning wished |
Hello, Is it a bug or a well-known feature that the above program does not emit a warning (because "f x" should have type unit in the body of "g") ? ===== let f x = x let g x = f x; 1 (* let _ = g 2 *) ==== Best regards, Julien Signoles