Chromium Code Reviews| 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.
|
| }); |
| } |