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

Unified Diff: lib/runtime/dart/isolate.js

Issue 1207313002: initial sync*, part of #221 (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 6 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 | « lib/runtime/dart/core.js ('k') | lib/runtime/dart/js.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/isolate.js
diff --git a/lib/runtime/dart/isolate.js b/lib/runtime/dart/isolate.js
index 2f176816c61ea377d212797f8e15d41cf6cc39fa..8eadbb8d7300c9d3e505f635f875cd032cd5a967 100644
--- a/lib/runtime/dart/isolate.js
+++ b/lib/runtime/dart/isolate.js
@@ -140,12 +140,12 @@ dart_library.library('dart/isolate', null, /* Imports */[
get errors() {
let controller = null;
let port = null;
- let handleError = message => {
+ function handleError(message) {
let errorDescription = dart.as(dart.dindex(message, 0), core.String);
let stackDescription = dart.as(dart.dindex(message, 1), core.String);
let error = new RemoteError(errorDescription, stackDescription);
controller.addError(error, error.stackTrace);
- };
+ }
dart.fn(handleError, dart.void, [dart.dynamic]);
controller = async.StreamController.broadcast({sync: true, onListen: dart.fn(() => {
port = RawReceivePort.new(handleError);
« no previous file with comments | « lib/runtime/dart/core.js ('k') | lib/runtime/dart/js.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698