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

Unified Diff: sdk/lib/_internal/compiler/implementation/compiler.dart

Issue 48483002: Remove deprecated parts of dart:async. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comment. Created 7 years, 2 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 | « pkg/unittest/lib/src/test_case.dart ('k') | sdk/lib/_internal/compiler/implementation/dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/compiler.dart
diff --git a/sdk/lib/_internal/compiler/implementation/compiler.dart b/sdk/lib/_internal/compiler/implementation/compiler.dart
index 0a96d2256d8f0a786e630cacff3260da90d60ce0..d0d79d31fa5538fecaa8ba89c39fd8ccbd2c0c4f 100644
--- a/sdk/lib/_internal/compiler/implementation/compiler.dart
+++ b/sdk/lib/_internal/compiler/implementation/compiler.dart
@@ -762,7 +762,7 @@ abstract class Compiler implements DiagnosticListener {
Future<bool> run(Uri uri) {
totalCompileTime.start();
- return new Future.sync(() => runCompiler(uri)).catchError((error) {
+ return new Future.sync(() => runCompiler(uri)).catchError((error, trace) {
if (error is CompilerCancelledException) {
log('Error: $error');
return false;
@@ -775,7 +775,7 @@ abstract class Compiler implements DiagnosticListener {
MessageKind.COMPILER_CRASHED.error().toString(),
api.Diagnostic.CRASH);
String message = 'The compiler crashed.';
- pleaseReportCrash(getAttachedStackTrace(error), message);
+ pleaseReportCrash(trace, message);
}
} catch (doubleFault) {
// Ignoring exceptions in exception handling.
« no previous file with comments | « pkg/unittest/lib/src/test_case.dart ('k') | sdk/lib/_internal/compiler/implementation/dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698