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: nob...@puremagic.com
          Reporter: msnmanc...@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();}
```

--

Reply via email to