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

Unified Diff: frog/tests/leg/src/GVNTest.dart

Issue 10165004: Only emit typeguards if we think they are valuable. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comment. Created 8 years, 8 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 | « frog/tests/leg/src/CodeMotionTest.dart ('k') | frog/tests/leg/src/TypeGuardUnuserTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/tests/leg/src/GVNTest.dart
diff --git a/frog/tests/leg/src/GVNTest.dart b/frog/tests/leg/src/GVNTest.dart
index e706227df73d1ff3c654d99bf67e3adaeeb0e335..55d4577ba51b65a69a73d03e5f5351c69e8fde6e 100644
--- a/frog/tests/leg/src/GVNTest.dart
+++ b/frog/tests/leg/src/GVNTest.dart
@@ -6,8 +6,10 @@
final String TEST_ONE = @"""
void foo(bar) {
- print(1 + bar);
- print(1 + bar);
+ for (int i = 0; i < 1; i++) {
+ print(1 + bar);
+ print(1 + bar);
+ }
}
""";
« no previous file with comments | « frog/tests/leg/src/CodeMotionTest.dart ('k') | frog/tests/leg/src/TypeGuardUnuserTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698