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

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

Issue 1408253006: Introduce "platform configurations" to replace categories and libraries.dart. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix create_sdk scripts according to review Created 5 years, 1 month 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 | « sdk/lib/dart_shared.platform ('k') | tests/compiler/dart2js/backend_dart/dart_backend_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/analyze_only_test.dart
diff --git a/tests/compiler/dart2js/analyze_only_test.dart b/tests/compiler/dart2js/analyze_only_test.dart
index 08100a62d3978ba6a09fd660c611730c536e1039..2d771fb53491534f8d476e7f3790e1898f477f68 100644
--- a/tests/compiler/dart2js/analyze_only_test.dart
+++ b/tests/compiler/dart2js/analyze_only_test.dart
@@ -49,8 +49,8 @@ runCompiler(String main, List<String> options,
localProvider, localHandler, options, outputCollector);
result.then((_) {
onValue(outputCollector.getOutput('', 'js'), errors, warnings);
- }, onError: (e) {
- throw 'Compilation failed: ${Error.safeToString(e)}';
+ }, onError: (e, st) {
+ throw 'Compilation failed: ${e} ${st}';
}).then(asyncSuccess).catchError((error, stack) {
print('\n\n-----------------------------------------------');
print('main source:\n$main');
« no previous file with comments | « sdk/lib/dart_shared.platform ('k') | tests/compiler/dart2js/backend_dart/dart_backend_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698