[Issue 19755] New: Compiler crash
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Mar 20 08:33:53 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=19755
Issue ID: 19755
Summary: Compiler crash
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: eyal at weka.io
This piece of code generates a crash on both dmd and ldc:
struct Thunk(Dummy) {
void opAssign(int dlg) {}
auto get() inout {
Thunk* self;
self.x = 0;
}
alias get this;
}
alias T = Thunk!int;
--
More information about the Digitalmars-d-bugs
mailing list