Skip to content

Analyzer no longer warns about @override missing #7316

@Hixie

Description

@Hixie

I'm 90% sure this used to show warnings, but now the flutter analyze gives the following code a clean bill of health:

abstract class A {
  void test1() { }
  void test2();
}

class B extends A {
  void test1() { }
  void test2() { }
}

void main() { }

I would have expected two warnings, one on B.test1 and one on B.test2, both saying that @override was missing.

cc @pq, @danrubel

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: regressionIt was better in the past than it is nowtoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions