July 30, 2014 [Issue 13225] New: [ICE] Access violation on invalid mixin template instantiation | ||||
---|---|---|---|---|
| ||||
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@puremagic.com Reporter: jblume@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. -- |
Copyright © 1999-2021 by the D Language Foundation