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;
@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
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