Skip to content

[cfe] No error if base class is indirectly implemented #52116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kallentu opened this issue Apr 20, 2023 · 1 comment
Closed

[cfe] No error if base class is indirectly implemented #52116

kallentu opened this issue Apr 20, 2023 · 1 comment
Assignees
Labels
legacy-area-front-end Legacy: Use area-dart-model instead. type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@kallentu
Copy link
Member

// class_modifiers_lib.dart
base class BaseClass {}

// test.dart
import "class_modifiers_lib.dart";

base class ExtendsBaseClass extends BaseClass {}

base class IndirectlyImplementsBaseClass implements ExtendsBaseClass {}
//                                                  ^^^^^^^^^^^^^^^^
// [analyzer] unspecified
// [cfe] unspecified

No error is produced in this example.
Analyzer issue: #52056

@kallentu kallentu added type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) legacy-area-front-end Legacy: Use area-dart-model instead. labels Apr 20, 2023
@kallentu kallentu self-assigned this Apr 20, 2023
@johnniwinther
Copy link
Member

Duplicate of #52161

Closing this issue as I'm working on #52161

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legacy-area-front-end Legacy: Use area-dart-model instead. type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

2 participants