Fix bugzilla 24845 - Compiler error when trying to assign to an AA value of an enum instance

This commit is contained in:
Dennis Korpel 2024-11-25 13:20:46 +01:00 committed by The Dlang Bot
parent 949cb11c41
commit 519d388498
3 changed files with 9 additions and 6 deletions

View file

@ -861,7 +861,7 @@ S14166 s14166;
struct X14166 { this(int) { } X14166 opAssign(int) { return this; } }
X14166[int] aa14166;
X14166[int] makeAA14166() { return aa14166; }
ref X14166[int] makeAA14166() { return aa14166; }
struct Tup14166(T...) { T field; alias field this; }
Tup14166!(int, int) tup14166;