| Index: pkg/analyzer/lib/src/task/strong/checker.dart
|
| diff --git a/pkg/analyzer/lib/src/task/strong/checker.dart b/pkg/analyzer/lib/src/task/strong/checker.dart
|
| index 91488391da305394704ee45e4eb46db4de244a67..26b9fa1cfce3f487db3070e0771e7a88e3191a0c 100644
|
| --- a/pkg/analyzer/lib/src/task/strong/checker.dart
|
| +++ b/pkg/analyzer/lib/src/task/strong/checker.dart
|
| @@ -1588,17 +1588,17 @@ class _OverrideChecker {
|
|
|
| /// If node is a [ClassDeclaration] returns its members, otherwise if node is
|
| /// a [ClassTypeAlias] this returns an empty list.
|
| - WithClause _withClause(Declaration node) {
|
| + AstNode _extendsErrorLocation(Declaration node) {
|
| return node is ClassDeclaration
|
| - ? node.withClause
|
| - : (node as ClassTypeAlias).withClause;
|
| + ? node.extendsClause
|
| + : (node as ClassTypeAlias).superclass;
|
| }
|
|
|
| /// If node is a [ClassDeclaration] returns its members, otherwise if node is
|
| /// a [ClassTypeAlias] this returns an empty list.
|
| - AstNode _extendsErrorLocation(Declaration node) {
|
| + WithClause _withClause(Declaration node) {
|
| return node is ClassDeclaration
|
| - ? node.extendsClause
|
| - : (node as ClassTypeAlias).superclass;
|
| + ? node.withClause
|
| + : (node as ClassTypeAlias).withClause;
|
| }
|
| }
|
|
|