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

Unified Diff: tests/language/override_inheritance_field_test.dart

Issue 152543002: Fix analyzer redness. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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: tests/language/override_inheritance_field_test.dart
diff --git a/tests/language/override_inheritance_field_test.dart b/tests/language/override_inheritance_field_test.dart
index d4a9a8d97ac415337397d869cd35ec72036e0726..7e2b28bff302a7b05d3e899f0d018dafbb3d7cbf 100644
--- a/tests/language/override_inheritance_field_test.dart
+++ b/tests/language/override_inheritance_field_test.dart
@@ -56,6 +56,7 @@ abstract class I {
set setter11(String _) => null; /// 31: continued
set setter12(int _) => null; /// 32: static type warning
set setter13(int _) => null; /// 33: static type warning
+ set setter13(num _) => null; /// 33a: static type warning
set setter14(int _) => null; /// 34: static type warning
}
@@ -65,6 +66,7 @@ abstract class J {
num get getter11 => null; /// 11: continued
set setter12(String _) => null; /// 32: continued
set setter13(num _) => null; /// 33: continued
+ set setter13(int _) => null; /// 33a: continued
set setter14(num _) => null; /// 34: continued
}
@@ -112,6 +114,7 @@ class SubClass extends Class {
double get getter10 => null; /// 10: continued
String get getter11 => null; /// 11: continued
set setter13(double _) => null; /// 33: continued
+ set setter13(double _) => null; /// 33a: continued
set setter14(String _) => null; /// 34: continued
}
« pkg/intl/lib/extract_messages.dart ('K') | « tests/language/language_analyzer2.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698