digitalmars.D.bugs - [Issue 23515] New: Named Enum of function SIGSEGFAULT
- d-bugmail puremagic.com (27/27) Nov 27 2022 https://issues.dlang.org/show_bug.cgi?id=23515
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 puremagic.com Reporter: msnmancini 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();} ``` --
Nov 27 2022