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



--- Comment #9 from bearophile_h...@eml.cc 2012-05-06 06:52:35 PDT ---
One case:


alias ushort UT;
void main() {
    int x;
    UT y = x;
}


DMD 2.060alpha gives:

test.d(4): Error: cannot implicitly convert expression (x) of type int to
ushort

But a more useful error message is similar to:

test.d(4): Error: cannot implicitly convert expression (x) of type int to UT
(alias for ushort)


See also Issue 8044

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

Reply via email to