https://d.puremagic.com/issues/show_bug.cgi?id=12376
Summary: ICE with constarainted template instantiation with
error gagging
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: ice
Severity: regression
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Kenji Hara <[email protected]> 2014-03-15 21:16:38 PDT ---
Test case:
static auto encode(size_t sz)(dchar ch) if (sz > 1)
{
undefined;
}
void main()
{
enum x = __traits(compiles, encode!2(x));
}
-----
assert template.c(759) !ti->symtab
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------