https://issues.dlang.org/show_bug.cgi?id=3468
Mathias LANG <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Version|D1 (retired) |D2 OS|Linux |All --- Comment #2 from Mathias LANG <[email protected]> --- This 'bug' is still around in D2. It looks like an heritage from C / C++, one of the bad kind. It allows you to write gems such as: ``` uint func (int i) { return i; } void main () { uint v = func(-42); } ``` @Walter: Would you be okay with the idea of deprecating this ? Related: https://issues.dlang.org/show_bug.cgi?id=259 --
