| OLD | NEW |
| 1 var isolate; | 1 var isolate; |
| 2 (function(exports) { | 2 (function(exports) { |
| 3 'use strict'; | 3 'use strict'; |
| 4 class Capability extends core.Object { | 4 class Capability extends core.Object { |
| 5 Capability() { | 5 Capability() { |
| 6 return new _isolate_helper.CapabilityImpl(); | 6 return new _isolate_helper.CapabilityImpl(); |
| 7 } | 7 } |
| 8 } | 8 } |
| 9 class IsolateSpawnException extends core.Object { | 9 class IsolateSpawnException extends core.Object { |
| 10 IsolateSpawnException(message) { | 10 IsolateSpawnException(message) { |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 return new _isolate_helper.RawReceivePortImpl(handler); | 175 return new _isolate_helper.RawReceivePortImpl(handler); |
| 176 } | 176 } |
| 177 } | 177 } |
| 178 class _IsolateUnhandledException extends core.Object { | 178 class _IsolateUnhandledException extends core.Object { |
| 179 _IsolateUnhandledException(message, source, stackTrace) { | 179 _IsolateUnhandledException(message, source, stackTrace) { |
| 180 this.message = message; | 180 this.message = message; |
| 181 this.source = source; | 181 this.source = source; |
| 182 this.stackTrace = stackTrace; | 182 this.stackTrace = stackTrace; |
| 183 } | 183 } |
| 184 toString() { | 184 toString() { |
| 185 return 'IsolateUnhandledException: exception while handling message: ' + `
${this.message} \n ` + `${dart.dinvoke(dart.dinvoke(this.source, 'toString'), '
replaceAll', "\n", "\n ")}\n` + 'original stack trace:\n ' + `${this.stackTrac
e.toString().replaceAll("\n", "\n ")}`; | 185 return 'IsolateUnhandledException: exception while handling message: ' + `
${this.message} \n ` + `${dart.dinvoke(this.source.toString(), 'replaceAll', "\
n", "\n ")}\n` + 'original stack trace:\n ' + `${this.stackTrace.toString().re
placeAll("\n", "\n ")}`; |
| 186 } | 186 } |
| 187 } | 187 } |
| 188 _IsolateUnhandledException[dart.implements] = () => [core.Exception]; | 188 _IsolateUnhandledException[dart.implements] = () => [core.Exception]; |
| 189 let _description = Symbol('_description'); | 189 let _description = Symbol('_description'); |
| 190 class RemoteError extends core.Object { | 190 class RemoteError extends core.Object { |
| 191 RemoteError(description, stackDescription) { | 191 RemoteError(description, stackDescription) { |
| 192 this[_description] = description; | 192 this[_description] = description; |
| 193 this.stackTrace = new _RemoteStackTrace(stackDescription); | 193 this.stackTrace = new _RemoteStackTrace(stackDescription); |
| 194 } | 194 } |
| 195 toString() { | 195 toString() { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 209 _RemoteStackTrace[dart.implements] = () => [core.StackTrace]; | 209 _RemoteStackTrace[dart.implements] = () => [core.StackTrace]; |
| 210 // Exports: | 210 // Exports: |
| 211 exports.Capability = Capability; | 211 exports.Capability = Capability; |
| 212 exports.IsolateSpawnException = IsolateSpawnException; | 212 exports.IsolateSpawnException = IsolateSpawnException; |
| 213 exports.Isolate = Isolate; | 213 exports.Isolate = Isolate; |
| 214 exports.SendPort = SendPort; | 214 exports.SendPort = SendPort; |
| 215 exports.ReceivePort = ReceivePort; | 215 exports.ReceivePort = ReceivePort; |
| 216 exports.RawReceivePort = RawReceivePort; | 216 exports.RawReceivePort = RawReceivePort; |
| 217 exports.RemoteError = RemoteError; | 217 exports.RemoteError = RemoteError; |
| 218 })(isolate || (isolate = {})); | 218 })(isolate || (isolate = {})); |
| OLD | NEW |