[cfe] Excessive error if enum and another declaration have the same names #59623
Labels
area-front-end
Use area-front-end for front end / CFE / kernel format related issues.
cfe-messages
Poor/undesirable messaging in errors/warnings emitted by the CFE.
Why CFE reports an error on the enum declaration? There is nothing wrong with it. No this issue if to replace an enum by some class declaration (CFE reports an error for the second declaration only if the first declaration is a class).
Dart SDK version: 3.7.0-183.0.dev (dev) (Fri Nov 22 20:03:46 2024 -0800) on "windows_x64"
The text was updated successfully, but these errors were encountered: