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

Unified Diff: tests/language/issue15606_test.dart

Issue 118313002: Make the analyzer happy. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years 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/issue15606_test.dart
===================================================================
--- tests/language/issue15606_test.dart (revision 31226)
+++ tests/language/issue15606_test.dart (working copy)
@@ -8,11 +8,14 @@
main() {
while (false) { // Comply to inlining heuristics.
- var foo = Unresolved.foo( // Use an unresolved prefix.
- new Foo<int>(), // Make dart2js generate a call to setRuntimeTypeInfo.
- a[0].toString()); // Use a one-shot interceptor.
+ // Use an unresolved prefix.
+ var foo = Unresolved.foo( /// 01: static type warning
+ // Make dart2js generate a call to setRuntimeTypeInfo.
+ new Foo<int>(), /// 01: continued
+ // Use a one-shot interceptor.
+ a[0].toString()); /// 01: continued
// Do an is test on `Foo` to require setRuntimeTypeInfo.
- print(foo is Foo<int>);
+ print(foo is Foo<int>); /// 01: continued
}
}
« 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