Skip to content

[analyzer] Error when omitting base/final/sealed on base/final superclasses through legacy libraries. #52315

Closed
@kallentu

Description

@kallentu

https://github.com/dart-lang/sdk/blob/main/tests/language/class_modifiers/trans_legacy/legacy_superdeclaration_error_test.dart
Missing errors from line 46 and onwards.

The analyzer is not reporting an error when a class from a 3.0 library is a subclass of a class in a 2.19 library whose supertype is from the core libraries.

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work ondart-model-analyzer-specIssues with the analyzer's implementation of the language speclegacy-area-analyzerUse area-devexp instead.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions