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

Unified Diff: tests/compiler/dart2js/unparser_test.dart

Issue 10917298: [dart2dart] Cut declaration types by default if we check that it is safe to do so. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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/compiler/dart2js/unparser_test.dart
diff --git a/tests/compiler/dart2js/unparser_test.dart b/tests/compiler/dart2js/unparser_test.dart
index 2e635869876874a7dfd437e01047d670fb124b4c..a69c08ce5e53ca7f32fa794c225aeb3ea98a01dd 100644
--- a/tests/compiler/dart2js/unparser_test.dart
+++ b/tests/compiler/dart2js/unparser_test.dart
@@ -35,6 +35,7 @@ interface Map {}
interface Closure {}
interface Dynamic_ {}
interface Null {}
+interface TypeError {}
class Math {
static double parseDouble(String s) => 1.0;
}
@@ -727,7 +728,7 @@ main() {
}
''';
var expectedResult =
- 'main(){var A=7;void B(A,C){void D(E,F){var G=A;}D(C,A);}B(A,8);}';
+ 'main(){var A=7; B(A,C){ D(E,F){var G=A;}D(C,A);}B(A,8);}';
testDart2Dart(src,
(String result) { Expect.equals(expectedResult, result); }, minify: true);
}

Powered by Google App Engine
This is Rietveld 408576698