Generator hangs indefinitely if enum value is named "_"
Open
bug
- Dominant language
- Dart
- Stars
- 572
- Forks
- 196
- Avg merge
- 1h 59m
- Merged PRs (30d)
- 2
Description
If I create an enum like the following, the compiler will hang until I terminate the process:
```
enum HttpMethod {
_ = 0;
GET = 1;
POST = 2;
PUT = 3;
PATCH = 4;
DELETE = 5;
}
```
Contributor guide
Assessment
This issue has not been assessed yet.