[Issue 12376] New: ICE with constarainted template instantiation with error gagging
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Mar 15 21:16:40 PDT 2014
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: nobody at puremagic.com
ReportedBy: k.hara.pg at gmail.com
--- Comment #0 from Kenji Hara <k.hara.pg at gmail.com> 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: -------
More information about the Digitalmars-d-bugs
mailing list