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


Kasumi Hanazuki <k.hanaz...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |k.hanaz...@gmail.com


--- Comment #1 from Kasumi Hanazuki <k.hanaz...@gmail.com> 2011-10-26 12:47:11 
PDT ---
Isn't this the correct behavior? -- U = 0 is not an type.

By the precedence of overload resolution, DMD does not instantiate some of the
template function overloads and semantic errors are not reported for them.
If you define each template function alone, DMD(v2.056head) reports a "used as
a type" error for it.

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

Reply via email to