mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
Fix bugzilla 24845 - Compiler error when trying to assign to an AA value of an enum instance
This commit is contained in:
parent
949cb11c41
commit
519d388498
3 changed files with 9 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue