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

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: 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
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 61638b4fa5e7d3092eecea3bc14ba6181e3b0940..759f6731c1c00f73b7f2e0dae056f01172abcd01 100644
--- a/sdk/lib/_internal/compiler/implementation/compiler.dart
+++ b/sdk/lib/_internal/compiler/implementation/compiler.dart
@@ -754,7 +754,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;
@@ -767,7 +767,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.

Powered by Google App Engine
This is Rietveld 408576698