[cfe] namespace confusion after wrong constructor declaration #46891
Labels
legacy-area-front-end
Legacy: Use area-dart-model instead.
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Consider the test co19/LanguageFeatures/Constructor-tear-offs/unnamed_constructor_A03_t07, line 46.
At this point, the class
D
declares a member namedD
, that is, a constructor. However, the test run reports the following error:but there is no other declaration in the body of
D
with that name.The text was updated successfully, but these errors were encountered: