[Issue 24812] New: [REG 2.106] Incorrect highlighting when diagnosing an empty enum declaration since #15664
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Oct 14 07:16:55 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24812
Issue ID: 24812
Summary: [REG 2.106] Incorrect highlighting when diagnosing an
empty enum declaration since #15664
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: regression
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: ibuclaw at gdcproject.org
Test case:
```
module object;
enum Foo {}
```
Before:
```
Error: enum `object.Foo` enum `Foo` must have at least one member
```
After:
```
Error: enum `pr117115.Foo enum `Foo` must have at least one member
```
Introduced by: https://github.com/dlang/dmd/pull/15664
--
More information about the Digitalmars-d-bugs
mailing list