[cfe] [extension types] Implement 'precludes' rule to eliminate method/setter conflicts #53720
Labels
cfe-feature-extension-types
Implement extension types feature in the CFE
legacy-area-front-end
Legacy: Use area-dart-model instead.
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
This is the CFE specific issue for #53717. Consider the following example (which was taken from #53717):
The common front end does not report any errors for this program, but it should report a compile-time error at the declaration of
void m() {}
(or nearby), becauseE2
has a setter namedm=
and an instance method namedm
, cf. [1] and [2]).The text was updated successfully, but these errors were encountered: