Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2528)

Unified Diff: pkg/analyzer/test/generated/hint_code_test.dart

Issue 2228233003: Remove false positive from override hint (issue 27046) (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/test/generated/hint_code_test.dart
diff --git a/pkg/analyzer/test/generated/hint_code_test.dart b/pkg/analyzer/test/generated/hint_code_test.dart
index 3ff98f717a76e06e2ef3f06f9bd637cf86ea7317..e14df67545453846a2fea2ceb2381553058bebfb 100644
--- a/pkg/analyzer/test/generated/hint_code_test.dart
+++ b/pkg/analyzer/test/generated/hint_code_test.dart
@@ -31,7 +31,6 @@ library meta;
const _Factory factory = const _Factory();
const _Literal literal = const _Literal();
const _MustCallSuper mustCallSuper = const _MustCallSuper();
-const _Override override = const _Override();
const _Protected protected = const _Protected();
const Required required = const Required();
class Required {
@@ -48,9 +47,6 @@ class _Literal {
class _MustCallSuper {
const _MustCallSuper();
}
-class _Override {
- const _Override();
-}
class _Protected {
const _Protected();
}
@@ -2055,8 +2051,6 @@ class A {
void test_overrideOnNonOverridingField_invalid() {
Source source = addSource(r'''
-library dart.core;
-const override = null;
class A {
}
class B extends A {
@@ -2070,8 +2064,6 @@ class B extends A {
void test_overrideOnNonOverridingGetter_invalid() {
Source source = addSource(r'''
-library dart.core;
-const override = null;
class A {
}
class B extends A {
@@ -2085,8 +2077,6 @@ class B extends A {
void test_overrideOnNonOverridingMethod_invalid() {
Source source = addSource(r'''
-library dart.core;
-const override = null;
class A {
}
class B extends A {
@@ -2100,8 +2090,6 @@ class B extends A {
void test_overrideOnNonOverridingSetter_invalid() {
Source source = addSource(r'''
-library dart.core;
-const override = null;
class A {
}
class B extends A {

Powered by Google App Engine
This is Rietveld 408576698