[Issue 23406] [seg fault] enums can cause compile time seg faults with assignments using alias this

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 12 03:02:57 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=23406

crazymonkyyy at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[seg fault] enums can cause |[seg fault] enums can cause
                   |compile time seg faults     |compile time seg faults
                   |with assignments            |with assignments using
                   |                            |alias this

--- Comment #1 from crazymonkyyy at gmail.com ---
```
        auto opAssign(int j){
                i=j;
        }
```
seems to prevent it btw

--


More information about the Digitalmars-d-bugs mailing list