Chromium Code Reviews

Unified Diff: sdk/lib/_internal/pub/lib/src/dart.dart

Issue 26572010: Improve barback/pub logging. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add missing file. Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: sdk/lib/_internal/pub/lib/src/dart.dart
diff --git a/sdk/lib/_internal/pub/lib/src/dart.dart b/sdk/lib/_internal/pub/lib/src/dart.dart
index 4c746d1e88faa4372cbdf3d162db15e2f8e2a9a0..e9db32fa7b1a18eadd2cbe4d5409b1cb257fbbf2 100644
--- a/sdk/lib/_internal/pub/lib/src/dart.dart
+++ b/sdk/lib/_internal/pub/lib/src/dart.dart
@@ -58,9 +58,6 @@ Future<String> compile(String entrypoint, {String packageRoot,
path.toUri(appendSlash(_libPath)),
path.toUri(appendSlash(packageRoot)),
inputProvider, diagnosticHandler, options);
- }).then((result) {
- if (result != null) return result;
- throw new ApplicationException('Failed to compile "$entrypoint".');
nweiz 2013/10/16 19:41:27 I really don't like getting rid of this. It makes
Bob Nystrom 2013/10/28 23:45:56 Done.
});
}

Powered by Google App Engine