Skip to content

Missing compile-time errors on transitivity issues in class modifiers involving legacy libraries and 'implements' superinterfaces #52321

@chloestefantsova

Description

@chloestefantsova

As pointed out in this comment: #52078 (comment), reporting of some compile-time errors related to transitive issues in class modifiers doesn't yet work in either the Analyzer or the CFE.

Another comment suggests that the failing tests warrant a new GitHub issue to track them: #52078 (comment)

The failing tests in question are the following:

versioning_A03_t01.dart - checks that final class cannot be extended // fails for both the Analyzer and the CFE
versioning_A03_t02.dart - checks that final class cannot be implemented // passes for the Analyzer, but fails for the CFE
versioning_A03_t04.dart - checks that mixin on a final class cannot be declared // fails for both the Analyzer and the CFE

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work onlegacy-area-analyzerUse area-devexp instead.legacy-area-front-endLegacy: Use area-dart-model instead.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions