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

MISMATCHED_GETTER_AND_SETTER_TYPES is reported multiple times #34745

scheglov opened this Issue Oct 10, 2018 · 0 comments


None yet
2 participants

scheglov commented Oct 10, 2018

For example, this test fails.
We should report an error for B, but not for X.

  test_error_mismatchedGetterAndSetterTypes_OK_alreadyReported_super() async {
    newFile('/test/lib/a.dart', content: r'''
class A {
  int get foo => 0;

class B extends A {
  set foo(String _) {}
import 'a.dart';

class X extends B {}
    await resolveTestFile();

@scheglov scheglov changed the title from MISMATCHED_GETTER_AND_SETTER_TYPES is reported for multiple times to MISMATCHED_GETTER_AND_SETTER_TYPES is reported multiple times Oct 10, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment