http://d.puremagic.com/issues/show_bug.cgi?id=9545
Summary: ICE with member template instantiation
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: ice
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Kenji Hara <[email protected]> 2013-02-19 20:18:48 PST ---
struct S1 { template T(X) { alias T = X; } }
void main()
{
auto x1 = S1.init.T!int; // ICE
}
Instead, compiler should report "int is not an expression" error.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------