http://d.puremagic.com/issues/show_bug.cgi?id=5995
--- Comment #6 from timon.g...@gmx.ch 2011-05-16 11:07:36 PDT --- (In reply to comment #4) > Implicitly converting to the same-size _unsigned_ integral type might be fine, > but converting to a signed type would be a narrowing conversion. I'd still > argue that converting between any of the character types and any of the > integral types should require a cast though simply because they're not only > different types, they're different types of types. The character types are for > characters and the integral types are for integers. Regardless, no implicit > conversion should be permitted when it's a narrowing conversion. Narrowing > conversions should require casts. How is that "narrowing"? No information is lost. @Topic: void main(){ uint i=-1; //fine dchar c=-1; //compile time error } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------