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

Unified Diff: tests/language_strong/super_setter_test.dart

Issue 2721203006: Add warning and error markers to some tests (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | tests/language_strong/try_catch4_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language_strong/super_setter_test.dart
diff --git a/tests/language_strong/super_setter_test.dart b/tests/language_strong/super_setter_test.dart
index 7683d784eddcfbc77ba65a8a69888c3baaed1bb0..4a9792f3f9921e5d3ab2656a8909be297c20a2a1 100644
--- a/tests/language_strong/super_setter_test.dart
+++ b/tests/language_strong/super_setter_test.dart
@@ -10,7 +10,7 @@ class Base {
String value_;
String get value { return value_; }
- String set value(String newValue) {
+ String set value(String newValue) { /// static warning
value_ = 'Base:$newValue';
}
}
@@ -19,7 +19,7 @@ class Base {
class Derived extends Base {
Derived() : super() {}
- String set value(String newValue) {
+ String set value(String newValue) { /// static warning
super.value = 'Derived:$newValue';
}
String get value { return super.value; }
« no previous file with comments | « no previous file | tests/language_strong/try_catch4_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698