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

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

Issue 9664004: Annotates some more tests for static type warnings (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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/src/Issue1363Test.dart
diff --git a/tests/language/src/Issue1363Test.dart b/tests/language/src/Issue1363Test.dart
index ab0f3e0f8e2d7e188d2d0875893cf4e0e7546248..c5efd2def725e272e42439ba5b0cd5ea31c85a1b 100644
--- a/tests/language/src/Issue1363Test.dart
+++ b/tests/language/src/Issue1363Test.dart
@@ -23,7 +23,7 @@ class C {
C contents = myCup.getContents(); // expect no warning or error
bool hasThrown = false;
try {
- contents = libCup.getContents();
+ contents = libCup.getContents(); /// static type warning
} catch (TypeError e) {
hasThrown = true;
}

Powered by Google App Engine
This is Rietveld 408576698