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

Unified Diff: tests/language/src/Context2Test.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/CallThroughGetterTest.dart ('k') | tests/language/src/DefaultImplementation2Test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/src/Context2Test.dart
diff --git a/tests/language/src/Context2Test.dart b/tests/language/src/Context2Test.dart
index 6c327744d905836b9be92490e08761b472ea97ff..44550b88842282eed30bff71b3da435ffe2d8b4f 100644
--- a/tests/language/src/Context2Test.dart
+++ b/tests/language/src/Context2Test.dart
@@ -4,9 +4,12 @@
// Dart test for capturing.
// Regression test for issue 5991015.
+// @static-clean
class V {
+ notCalled(Function x) { return x(); }
+
foofoo(x) { return x; }
hoop(input, n) {
@@ -16,7 +19,7 @@ class V {
switch (input) {
case 3:
var values = foofoo;
- readPacked(() => values(input));
+ notCalled(() => values(input));
}
}
}
« no previous file with comments | « tests/language/src/CallThroughGetterTest.dart ('k') | tests/language/src/DefaultImplementation2Test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698