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

Unified Diff: test/checker/checker_test.dart

Issue 1296723002: Cleanup InferableOverride (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Fix format Created 5 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
« no previous file with comments | « lib/src/info.dart ('k') | test/checker/inferred_type_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/checker/checker_test.dart
diff --git a/test/checker/checker_test.dart b/test/checker/checker_test.dart
index 36543855c9a7dd442f00cd7ee77738ffb3873379..2803beccfc21494319b25937e41869cd7bb738bf 100644
--- a/test/checker/checker_test.dart
+++ b/test/checker/checker_test.dart
@@ -1389,7 +1389,7 @@ void main() {
class Child extends Base {
/*severe:InvalidMethodOverride*/A f1; // invalid for getter
/*severe:InvalidMethodOverride*/C f2; // invalid for setter
- /*severe:InferableOverride,severe:InvalidMethodOverride*/var f3;
+ /*severe:InvalidMethodOverride,severe:InvalidMethodOverride*/var f3;
/*severe:InvalidMethodOverride,severe:InvalidMethodOverride*/dynamic f4;
}
'''
@@ -1439,7 +1439,7 @@ void main() {
class Child extends Base {
/*severe:InvalidMethodOverride*/A get f1 => null;
C get f2 => null;
- /*severe:InferableOverride*/get f3 => null;
+ /*severe:InvalidMethodOverride*/get f3 => null;
/*severe:InvalidMethodOverride*/dynamic get f4 => null;
}
'''
@@ -2489,7 +2489,7 @@ void main() {
'/main.dart': '''
class A {}
class T1 implements A {
- /*severe:InferableOverride*/toString() {}
+ /*severe:InvalidMethodOverride*/toString() {}
}
'''
},
« no previous file with comments | « lib/src/info.dart ('k') | test/checker/inferred_type_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698