[Issue 3950] Wrong error message in recursive template call with no !
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Mar 15 08:16:30 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3950
--- Comment #5 from Steven Schveighoffer <schveiguy at yahoo.com> 2010-03-15 08:16:28 PDT ---
The compiler can't figure out whether ToString is a function or not, because it
can't evaluate it. It's like asking for this:
void 12345()
{
}
to return an error of "12345 cannot be a function" when it actually is a
parsing error. Often times, the compiler short circuits the compilation before
it can determine root cause, that is just a fact of life.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list