Phil Deets wrote:
On Mon, 28 Dec 2009 16:18:46 -0500, Simen kjaeraas <[email protected]> wrote:Apart from C legacy, is there a reason to assume anything we don't know what is, is an int? Shouldn't the compiler instead say 'unknown type' or somethingelse that makes sense?C++ abandoned default int. I think it would be best for D to do the same.
D never had default int. When there's an error, the compiler just has to choose *some* type, so that it doesn't crash <g>.
