[Issue 23515] New: Named Enum of function SIGSEGFAULT
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Nov 27 13:38:12 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23515
Issue ID: 23515
Summary: Named Enum of function SIGSEGFAULT
Product: D
Version: D2
Hardware: x86
OS: Windows
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: msnmancini at hotmail.com
Found by me and maxter.
I have a related problem in LDC:
https://github.com/ldc-developers/ldc/issues/4282
This SIGSEGFAULTS:
```d
enum Easing : void function(){identity = (){} }
void main(){Easing.identity();}
```
This doesn't:
```
enum : void function(){identity = (){} }
void main(){identity();}
```
--
More information about the Digitalmars-d-bugs
mailing list