Index: runtime/lib/isolate_patch.dart |
diff --git a/runtime/lib/isolate_patch.dart b/runtime/lib/isolate_patch.dart |
index 1fd87bfb0c142f09ad62874bbae6a54c2a9d2e66..0dff00247d4d12b293f51b525a3d2b0b64eeec92 100644 |
--- a/runtime/lib/isolate_patch.dart |
+++ b/runtime/lib/isolate_patch.dart |
@@ -274,7 +274,9 @@ patch class Isolate { |
/* patch */ static Isolate get current => _currentIsolate; |
/* patch */ static Future<Isolate> spawn( |
- void entryPoint(message), var message, { bool paused: false }) { |
+ void entryPoint(message), var message, |
+ {bool paused: false, bool errorsAreFatal, |
+ SendPort onExit, SendPort onError}) { |
// `paused` isn't handled yet. |
RawReceivePort readyPort; |
try { |
@@ -303,7 +305,8 @@ patch class Isolate { |
/* patch */ static Future<Isolate> spawnUri( |
Uri uri, List<String> args, var message, |
- { bool paused: false, bool checked, Uri packageRoot }) { |
+ {bool paused: false, bool checked, Uri packageRoot, bool errorsAreFatal, |
+ SendPort onExit, SendPort onError}) { |
RawReceivePort readyPort; |
try { |
// The VM will invoke [_startIsolate] and not `main`. |