[Issue 13225] New: [ICE] Access violation on invalid mixin template instantiation
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Jul 30 05:22:12 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13225
Issue ID: 13225
Summary: [ICE] Access violation on invalid mixin template
instantiation
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: major
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: jblume at jblume.com
mixin template M(T)
{
}
struct S
{
mixin M!((typeof(this)) => 0);
mixin M!(() => undefined);
}
With v2.066.0-b6 running on Windows this leads to:
main.d(8): Error: undefined identifier undefined
Unhandled exception at 0x00439BF1 in dmd.exe: 0xC0000005: Access violation
reading location 0x00000029.
Removing one of the mixins or replacing "undefined" with a literal works.
--
More information about the Digitalmars-d-bugs
mailing list