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

Unified Diff: tests/language/src/DynamicFieldTest.dart

Issue 9582027: Some use of the new @static-clean and /// annotations in shared tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « tests/language/src/DefaultImplementationTest.dart ('k') | tests/language/src/DynamicTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/src/DynamicFieldTest.dart
diff --git a/tests/language/src/DynamicFieldTest.dart b/tests/language/src/DynamicFieldTest.dart
index 5dce4ebc9926e13ace906001fca1f95c4bd8572e..b636d4ff93ed5ac5841fd9fc501e43e3c16199b8 100644
--- a/tests/language/src/DynamicFieldTest.dart
+++ b/tests/language/src/DynamicFieldTest.dart
@@ -11,12 +11,12 @@ class A extends C {
class C {
foo() {
- print(a);
- return a;
+ print(a); /// static type error
+ return a; /// static type error
}
bar() {
- print(b.a);
- return b.a;
+ print(b.a); /// static type error
+ return b.a; /// static type error
}
}
« no previous file with comments | « tests/language/src/DefaultImplementationTest.dart ('k') | tests/language/src/DynamicTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698