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

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

Issue 2174423005: Fix for false positive in field (not-)overriding. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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 acaeaf9de7037079ff27ddb77b4cd5ceafaeb944..e5563a5bc16ff82d5738e9290d20ceb0b47e44e8 100644
--- a/pkg/analyzer/test/generated/hint_code_test.dart
+++ b/pkg/analyzer/test/generated/hint_code_test.dart
@@ -2047,7 +2047,7 @@ m(x) {
verify([source]);
}
- void test_overrideOnNonOverridingGetter_field_invalid() {
+ void test_overrideOnNonOverridingField_invalid() {
Source source = addSource(r'''
library dart.core;
const override = null;
@@ -2058,7 +2058,7 @@ class B extends A {
final int m = 1;
}''');
computeLibrarySourceErrors(source);
- assertErrors(source, [HintCode.OVERRIDE_ON_NON_OVERRIDING_GETTER]);
+ assertErrors(source, [HintCode.OVERRIDE_ON_NON_OVERRIDING_FIELD]);
verify([source]);
}

Powered by Google App Engine
This is Rietveld 408576698