← Back to index
|
Original Bugzilla link
Bug 19755 – Compiler crash
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2019-03-20T08:33:53Z
Last change time
2020-03-21T03:56:36Z
Keywords
ice, pull
Assigned to
No Owner
Creator
Eyal
Comments
Comment #0
by eyal — 2019-03-20T08:33:53Z
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;
Comment #1
by dlang-bot — 2019-03-20T09:28:30Z
@Basile-z created dlang/dmd pull request #9470 "fix issue 19755 - Compiler crash" fixing this issue: - fix issue 19755 - Compiler crash
https://github.com/dlang/dmd/pull/9470
Comment #2
by dlang-bot — 2019-03-20T10:36:53Z
dlang/dmd pull request #9470 "fix issue 19755 - Compiler crash" was merged into stable: - bfd0429f1b5b877281b06562deb176a6133c2eab by Basile Burg: fix issue 19755 - Compiler crash
https://github.com/dlang/dmd/pull/9470