Index: sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart b/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart |
index 08a2cbbe6c14c26fddb13e10f5228b167355dd35..2177ca9d23aab1ca58f49ba42ec5d5f6dab9bd27 100644 |
--- a/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart |
+++ b/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart |
@@ -624,7 +624,7 @@ class _BaseSendPort implements SendPort { |
port.receive((value, ignoreReplyTo) { |
port.close(); |
if (value is Exception) { |
- completer.completeException(value); |
+ completer.completeError(value); |
} else { |
completer.complete(value); |
} |