http://d.puremagic.com/issues/show_bug.cgi?id=10999


[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #1 from [email protected] 2013-09-10 07:50:26 PDT ---
Implicit casts are generally bad/dangerous, despite they are sometimes handy,
so generally we should be careful in introducing even more of them.

I don't like the idea of an implicit cast from ushort[2] to short[2] on the
basis of type safety, despite the current design breaks symmetry a little.
Sometimes breaking the symmetry is acceptable if it increases safety.

Adding a no-op  cast(short[2])  in the code seems acceptable because this
conversion seems uncommon enough (this conversion should call no run-time
functions).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to