[Issue 7252] ICE(template.c): 'global.errors' on line 4893 in file 'template.c'
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Dec 24 17:54:53 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7252
--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> 2012-12-24 17:54:52 PST ---
Reduced test case:
----
alias char* function() Func;
// The error disappears by masking this.
alias const char* function() CFunc;
void to(S)(S) { }
void main()
{
CFunc cFunc;
to(cFunc());
}
----
It seems a kind of incorrect type merging issue.
--
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