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

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

Issue 9569049: Gets rid of static analysis error in Context2Test (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 | « no previous file | no next file » | 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..a1bac6e8245c1eba054571c29162831cbb2a46c9 100644
--- a/tests/language/src/Context2Test.dart
+++ b/tests/language/src/Context2Test.dart
@@ -7,6 +7,8 @@
class V {
+ notCalled(Function x) { return x(); }
+
foofoo(x) { return x; }
hoop(input, n) {
@@ -16,7 +18,7 @@ class V {
switch (input) {
case 3:
var values = foofoo;
- readPacked(() => values(input));
+ notCalled(() => values(input));
}
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698