[Issue 6699] More cases of __error in error messages
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 21 04:00:52 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6699
--- Comment #1 from Don <clugdbug at yahoo.com.au> 2011-09-21 04:00:25 PDT ---
>From the test suite, fail228.d
int ToTypeString (T:int) ()
{
return 1;
}
int ToTypeString (T:string) ()
{
return 2;
}
static assert(ToTypeString!(localVariable)());
-------------------
fail228.d(12): Error: undefined identifier localVariable
fail228.d(12): Error: template fail228.ToTypeString(T : int) does not match any
function template declaration
fail228.d(12): Error: template fail228.ToTypeString(T : int) cannot deduce
templ
ate function from argument types !(_error_)()
fail228.d(12): Error: template instance ToTypeString!(_error_) errors
instantiat
ing template
--
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