October 14 [Issue 24812] New: [REG 2.106] Incorrect highlighting when diagnosing an empty enum declaration since #15664 | ||||
---|---|---|---|---|
| ||||
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@puremagic.com Reporter: ibuclaw@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 -- |
Copyright © 1999-2021 by the D Language Foundation