[Issue 10657] New: wrong error message with unexisting symbol
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jul 16 22:33:37 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10657
Summary: wrong error message with unexisting symbol
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: thelastmammoth at gmail.com
--- Comment #0 from thelastmammoth at gmail.com 2013-07-16 22:33:36 PDT ---
version(v1)
void fun(T)(T a)if(is(T==unexisting!T)){}
//OK: Error: template instance unexisting!(T) template 'unexisting' is not
defined
version(v2)
void fun(T)(T a)if(is(unexisting!T==unexisting!T)){}
//NG: Error: template bug_2013_07_16_22_23_32.fun does not match any function
template declaration. Candidates are:
unittest{
fun(0);
}
--
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