Skip to content

Precluding methods / setters in extension types #2390

Closed
@scheglov

Description

@scheglov

https://dart-review.googlesource.com/c/sdk/+/337641 breaks a few co19/ tests.

co19/LanguageFeatures/Extension-types/static_analysis_extension_types_A03_t05
co19/LanguageFeatures/Extension-types/static_analysis_extension_types_A03_t08
co19/LanguageFeatures/Extension-types/static_analysis_extension_types_A30_t02
co19/LanguageFeatures/Extension-types/superinterfaces_of_extension_type_A05_t08

For example

extension type V(int id) {
  external int id2;
}

extension type ET(int id) implements V {
  int id2() => id;
//    ^^^
// [analyzer] unspecified
// [cfe] unspecified
}

Are these tests to be updated?

Metadata

Metadata

Assignees

Labels

bad-testReport tests in need of updates. When closed, the tests should be considered good

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions