| OLD | NEW |
| 1 part of dart.async; | 1 part of dart.async; |
| 2 typedef dynamic ZoneCallback(); | 2 typedef dynamic ZoneCallback(); |
| 3 typedef dynamic ZoneUnaryCallback(arg); | 3 typedef dynamic ZoneUnaryCallback(arg); |
| 4 typedef dynamic ZoneBinaryCallback(arg1, arg2); | 4 typedef dynamic ZoneBinaryCallback(arg1, arg2); |
| 5 typedef dynamic HandleUncaughtErrorHandler(Zone self, ZoneDelegate parent, Zone
zone, error, StackTrace stackTrace); | 5 typedef dynamic HandleUncaughtErrorHandler(Zone self, ZoneDelegate parent, Zone
zone, error, StackTrace stackTrace); |
| 6 typedef dynamic RunHandler(Zone self, ZoneDelegate parent, Zone zone, f()); | 6 typedef dynamic RunHandler(Zone self, ZoneDelegate parent, Zone zone, f()); |
| 7 typedef dynamic RunUnaryHandler(Zone self, ZoneDelegate parent, Zone zone, f(ar
g), arg); | 7 typedef dynamic RunUnaryHandler(Zone self, ZoneDelegate parent, Zone zone, f(ar
g), arg); |
| 8 typedef dynamic RunBinaryHandler(Zone self, ZoneDelegate parent, Zone zone, f(a
rg1, arg2), arg1, arg2); | 8 typedef dynamic RunBinaryHandler(Zone self, ZoneDelegate parent, Zone zone, f(a
rg1, arg2), arg1, arg2); |
| 9 typedef ZoneCallback RegisterCallbackHandler(Zone self, ZoneDelegate parent, Zo
ne zone, f()); | 9 typedef ZoneCallback RegisterCallbackHandler(Zone self, ZoneDelegate parent, Zo
ne zone, f()); |
| 10 typedef ZoneUnaryCallback RegisterUnaryCallbackHandler(Zone self, ZoneDelegate
parent, Zone zone, f(arg)); | 10 typedef ZoneUnaryCallback RegisterUnaryCallbackHandler(Zone self, ZoneDelegate
parent, Zone zone, f(arg)); |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 return (implementation.function)(implZone, _parentDelegate(implZone), zone, f,
arg); | 143 return (implementation.function)(implZone, _parentDelegate(implZone), zone, f,
arg); |
| 144 } | 144 } |
| 145 dynamic runBinary(Zone zone, f(arg1, arg2), arg1, arg2) { | 145 dynamic runBinary(Zone zone, f(arg1, arg2), arg1, arg2) { |
| 146 _ZoneFunction implementation = _delegationTarget._runBinary; | 146 _ZoneFunction implementation = _delegationTarget._runBinary; |
| 147 _Zone implZone = implementation.zone; | 147 _Zone implZone = implementation.zone; |
| 148 return (implementation.function)(implZone, _parentDelegate(implZone), zone, f,
arg1, arg2); | 148 return (implementation.function)(implZone, _parentDelegate(implZone), zone, f,
arg1, arg2); |
| 149 } | 149 } |
| 150 ZoneCallback registerCallback(Zone zone, f()) { | 150 ZoneCallback registerCallback(Zone zone, f()) { |
| 151 _ZoneFunction implementation = _delegationTarget._registerCallback; | 151 _ZoneFunction implementation = _delegationTarget._registerCallback; |
| 152 _Zone implZone = implementation.zone; | 152 _Zone implZone = implementation.zone; |
| 153 return ((__x243) => DEVC$RT.cast(__x243, dynamic, __t180, "CastGeneral", """lin
e 522, column 12 of dart:async/zone.dart: """, __x243 is __t180, false))((implem
entation.function)(implZone, _parentDelegate(implZone), zone, f)); | 153 return ((__x243) => DEVC$RT.cast(__x243, dynamic, __t180, "CastGeneral", """lin
e 522, column 12 of dart:async/zone.dart: """, __x243 is __t180, true))((impleme
ntation.function)(implZone, _parentDelegate(implZone), zone, f)); |
| 154 } | 154 } |
| 155 ZoneUnaryCallback registerUnaryCallback(Zone zone, f(arg)) { | 155 ZoneUnaryCallback registerUnaryCallback(Zone zone, f(arg)) { |
| 156 _ZoneFunction implementation = _delegationTarget._registerUnaryCallback; | 156 _ZoneFunction implementation = _delegationTarget._registerUnaryCallback; |
| 157 _Zone implZone = implementation.zone; | 157 _Zone implZone = implementation.zone; |
| 158 return ((__x244) => DEVC$RT.cast(__x244, dynamic, __t188, "CastGeneral", """lin
e 529, column 12 of dart:async/zone.dart: """, __x244 is __t188, false))((implem
entation.function)(implZone, _parentDelegate(implZone), zone, f)); | 158 return ((__x244) => DEVC$RT.cast(__x244, dynamic, __t188, "CastGeneral", """lin
e 529, column 12 of dart:async/zone.dart: """, __x244 is __t188, true))((impleme
ntation.function)(implZone, _parentDelegate(implZone), zone, f)); |
| 159 } | 159 } |
| 160 ZoneBinaryCallback registerBinaryCallback(Zone zone, f(arg1, arg2)) { | 160 ZoneBinaryCallback registerBinaryCallback(Zone zone, f(arg1, arg2)) { |
| 161 _ZoneFunction implementation = _delegationTarget._registerBinaryCallback; | 161 _ZoneFunction implementation = _delegationTarget._registerBinaryCallback; |
| 162 _Zone implZone = implementation.zone; | 162 _Zone implZone = implementation.zone; |
| 163 return ((__x245) => DEVC$RT.cast(__x245, dynamic, __t198, "CastGeneral", """lin
e 536, column 12 of dart:async/zone.dart: """, __x245 is __t198, false))((implem
entation.function)(implZone, _parentDelegate(implZone), zone, f)); | 163 return ((__x245) => DEVC$RT.cast(__x245, dynamic, __t198, "CastGeneral", """lin
e 536, column 12 of dart:async/zone.dart: """, __x245 is __t198, true))((impleme
ntation.function)(implZone, _parentDelegate(implZone), zone, f)); |
| 164 } | 164 } |
| 165 AsyncError errorCallback(Zone zone, Object error, StackTrace stackTrace) { | 165 AsyncError errorCallback(Zone zone, Object error, StackTrace stackTrace) { |
| 166 _ZoneFunction implementation = _delegationTarget._errorCallback; | 166 _ZoneFunction implementation = _delegationTarget._errorCallback; |
| 167 _Zone implZone = implementation.zone; | 167 _Zone implZone = implementation.zone; |
| 168 if (identical(implZone, _ROOT_ZONE)) return null; | 168 if (identical(implZone, _ROOT_ZONE)) return null; |
| 169 return ((__x246) => DEVC$RT.cast(__x246, dynamic, AsyncError, "CastGeneral", ""
"line 544, column 12 of dart:async/zone.dart: """, __x246 is AsyncError, true))(
(implementation.function)(implZone, _parentDelegate(implZone), zone, error, stac
kTrace)); | 169 return ((__x246) => DEVC$RT.cast(__x246, dynamic, AsyncError, "CastGeneral", ""
"line 544, column 12 of dart:async/zone.dart: """, __x246 is AsyncError, true))(
(implementation.function)(implZone, _parentDelegate(implZone), zone, error, stac
kTrace)); |
| 170 } | 170 } |
| 171 void scheduleMicrotask(Zone zone, f()) { | 171 void scheduleMicrotask(Zone zone, f()) { |
| 172 _ZoneFunction implementation = _delegationTarget._scheduleMicrotask; | 172 _ZoneFunction implementation = _delegationTarget._scheduleMicrotask; |
| 173 _Zone implZone = implementation.zone; | 173 _Zone implZone = implementation.zone; |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 return (implementation.function)(implementation.zone, parentDelegate, this, f,
arg); | 344 return (implementation.function)(implementation.zone, parentDelegate, this, f,
arg); |
| 345 } | 345 } |
| 346 dynamic runBinary(f(arg1, arg2), arg1, arg2) { | 346 dynamic runBinary(f(arg1, arg2), arg1, arg2) { |
| 347 _ZoneFunction implementation = this._runBinary; | 347 _ZoneFunction implementation = this._runBinary; |
| 348 assert (implementation != null); ZoneDelegate parentDelegate = _parentDelegate(
implementation.zone); | 348 assert (implementation != null); ZoneDelegate parentDelegate = _parentDelegate(
implementation.zone); |
| 349 return (implementation.function)(implementation.zone, parentDelegate, this, f,
arg1, arg2); | 349 return (implementation.function)(implementation.zone, parentDelegate, this, f,
arg1, arg2); |
| 350 } | 350 } |
| 351 ZoneCallback registerCallback(f()) { | 351 ZoneCallback registerCallback(f()) { |
| 352 _ZoneFunction implementation = this._registerCallback; | 352 _ZoneFunction implementation = this._registerCallback; |
| 353 assert (implementation != null); ZoneDelegate parentDelegate = _parentDelegate(
implementation.zone); | 353 assert (implementation != null); ZoneDelegate parentDelegate = _parentDelegate(
implementation.zone); |
| 354 return ((__x251) => DEVC$RT.cast(__x251, dynamic, __t180, "CastGeneral", """lin
e 820, column 12 of dart:async/zone.dart: """, __x251 is __t180, false))((implem
entation.function)(implementation.zone, parentDelegate, this, f)); | 354 return ((__x251) => DEVC$RT.cast(__x251, dynamic, __t180, "CastGeneral", """lin
e 820, column 12 of dart:async/zone.dart: """, __x251 is __t180, true))((impleme
ntation.function)(implementation.zone, parentDelegate, this, f)); |
| 355 } | 355 } |
| 356 ZoneUnaryCallback registerUnaryCallback(f(arg)) { | 356 ZoneUnaryCallback registerUnaryCallback(f(arg)) { |
| 357 _ZoneFunction implementation = this._registerUnaryCallback; | 357 _ZoneFunction implementation = this._registerUnaryCallback; |
| 358 assert (implementation != null); ZoneDelegate parentDelegate = _parentDelegate(
implementation.zone); | 358 assert (implementation != null); ZoneDelegate parentDelegate = _parentDelegate(
implementation.zone); |
| 359 return ((__x252) => DEVC$RT.cast(__x252, dynamic, __t188, "CastGeneral", """lin
e 828, column 12 of dart:async/zone.dart: """, __x252 is __t188, false))((implem
entation.function)(implementation.zone, parentDelegate, this, f)); | 359 return ((__x252) => DEVC$RT.cast(__x252, dynamic, __t188, "CastGeneral", """lin
e 828, column 12 of dart:async/zone.dart: """, __x252 is __t188, true))((impleme
ntation.function)(implementation.zone, parentDelegate, this, f)); |
| 360 } | 360 } |
| 361 ZoneBinaryCallback registerBinaryCallback(f(arg1, arg2)) { | 361 ZoneBinaryCallback registerBinaryCallback(f(arg1, arg2)) { |
| 362 _ZoneFunction implementation = this._registerBinaryCallback; | 362 _ZoneFunction implementation = this._registerBinaryCallback; |
| 363 assert (implementation != null); ZoneDelegate parentDelegate = _parentDelegate(
implementation.zone); | 363 assert (implementation != null); ZoneDelegate parentDelegate = _parentDelegate(
implementation.zone); |
| 364 return ((__x253) => DEVC$RT.cast(__x253, dynamic, __t198, "CastGeneral", """lin
e 836, column 12 of dart:async/zone.dart: """, __x253 is __t198, false))((implem
entation.function)(implementation.zone, parentDelegate, this, f)); | 364 return ((__x253) => DEVC$RT.cast(__x253, dynamic, __t198, "CastGeneral", """lin
e 836, column 12 of dart:async/zone.dart: """, __x253 is __t198, true))((impleme
ntation.function)(implementation.zone, parentDelegate, this, f)); |
| 365 } | 365 } |
| 366 AsyncError errorCallback(Object error, StackTrace stackTrace) { | 366 AsyncError errorCallback(Object error, StackTrace stackTrace) { |
| 367 final _ZoneFunction implementation = this._errorCallback; | 367 final _ZoneFunction implementation = this._errorCallback; |
| 368 assert (implementation != null); final Zone implementationZone = implementation
.zone; | 368 assert (implementation != null); final Zone implementationZone = implementation
.zone; |
| 369 if (identical(implementationZone, _ROOT_ZONE)) return null; | 369 if (identical(implementationZone, _ROOT_ZONE)) return null; |
| 370 final ZoneDelegate parentDelegate = _parentDelegate(DEVC$RT.cast(implementation
Zone, Zone, _Zone, "CastGeneral", """line 845, column 57 of dart:async/zone.dart
: """, implementationZone is _Zone, true)); | 370 final ZoneDelegate parentDelegate = _parentDelegate(DEVC$RT.cast(implementation
Zone, Zone, _Zone, "CastGeneral", """line 845, column 57 of dart:async/zone.dart
: """, implementationZone is _Zone, true)); |
| 371 return ((__x254) => DEVC$RT.cast(__x254, dynamic, AsyncError, "CastGeneral", ""
"line 846, column 12 of dart:async/zone.dart: """, __x254 is AsyncError, true))(
(implementation.function)(implementationZone, parentDelegate, this, error, stack
Trace)); | 371 return ((__x254) => DEVC$RT.cast(__x254, dynamic, AsyncError, "CastGeneral", ""
"line 846, column 12 of dart:async/zone.dart: """, __x254 is AsyncError, true))(
(implementation.function)(implementationZone, parentDelegate, this, error, stack
Trace)); |
| 372 } | 372 } |
| 373 void scheduleMicrotask(void f()) { | 373 void scheduleMicrotask(void f()) { |
| 374 _ZoneFunction implementation = this._scheduleMicrotask; | 374 _ZoneFunction implementation = this._scheduleMicrotask; |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 630 dynamic runZoned(body(), { | 630 dynamic runZoned(body(), { |
| 631 Map zoneValues, ZoneSpecification zoneSpecification, Function onError} | 631 Map zoneValues, ZoneSpecification zoneSpecification, Function onError} |
| 632 ) { | 632 ) { |
| 633 HandleUncaughtErrorHandler errorHandler; | 633 HandleUncaughtErrorHandler errorHandler; |
| 634 if (onError != null) { | 634 if (onError != null) { |
| 635 errorHandler = (Zone self, ZoneDelegate parent, Zone zone, error, StackTrace sta
ckTrace) { | 635 errorHandler = (Zone self, ZoneDelegate parent, Zone zone, error, StackTrace sta
ckTrace) { |
| 636 try { | 636 try { |
| 637 if (onError is ZoneBinaryCallback) { | 637 if (onError is ZoneBinaryCallback) { |
| 638 return self.parent.runBinary(onError, error, stackTrace); | 638 return self.parent.runBinary(onError, error, stackTrace); |
| 639 } | 639 } |
| 640 return self.parent.runUnary(DEVC$RT.cast(onError, Function, __t188, "CastGenera
l", """line 1228, column 37 of dart:async/zone.dart: """, onError is __t188, fal
se), error); | 640 return self.parent.runUnary(DEVC$RT.cast(onError, Function, __t188, "CastGenera
l", """line 1228, column 37 of dart:async/zone.dart: """, onError is __t188, tru
e), error); |
| 641 } | 641 } |
| 642 catch (e, s) { | 642 catch (e, s) { |
| 643 if (identical(e, error)) { | 643 if (identical(e, error)) { |
| 644 return parent.handleUncaughtError(zone, error, stackTrace); | 644 return parent.handleUncaughtError(zone, error, stackTrace); |
| 645 } | 645 } |
| 646 else { | 646 else { |
| 647 return parent.handleUncaughtError(zone, e, s); | 647 return parent.handleUncaughtError(zone, e, s); |
| 648 } | 648 } |
| 649 } | 649 } |
| 650 } | 650 } |
| (...skipping 23 matching lines...) Expand all Loading... |
| 674 typedef __t188 __t182(Zone __u183, ZoneDelegate __u184, Zone __u185, dynamic __
u186(dynamic __u187)); | 674 typedef __t188 __t182(Zone __u183, ZoneDelegate __u184, Zone __u185, dynamic __
u186(dynamic __u187)); |
| 675 typedef dynamic __t198(dynamic __u199, dynamic __u200); | 675 typedef dynamic __t198(dynamic __u199, dynamic __u200); |
| 676 typedef __t198 __t191(Zone __u192, ZoneDelegate __u193, Zone __u194, dynamic __
u195(dynamic __u196, dynamic __u197)); | 676 typedef __t198 __t191(Zone __u192, ZoneDelegate __u193, Zone __u194, dynamic __
u195(dynamic __u196, dynamic __u197)); |
| 677 typedef AsyncError __t202(Zone __u203, ZoneDelegate __u204, Zone __u205, Object
__u206, StackTrace __u207); | 677 typedef AsyncError __t202(Zone __u203, ZoneDelegate __u204, Zone __u205, Object
__u206, StackTrace __u207); |
| 678 typedef void __t209(Zone __u210, ZoneDelegate __u211, Zone __u212, dynamic __u2
13()); | 678 typedef void __t209(Zone __u210, ZoneDelegate __u211, Zone __u212, dynamic __u2
13()); |
| 679 typedef Timer __t215(Zone __u216, ZoneDelegate __u217, Zone __u218, Duration __
u219, void __u220()); | 679 typedef Timer __t215(Zone __u216, ZoneDelegate __u217, Zone __u218, Duration __
u219, void __u220()); |
| 680 typedef Timer __t222(Zone __u223, ZoneDelegate __u224, Zone __u225, Duration __
u226, void __u227(Timer __u228)); | 680 typedef Timer __t222(Zone __u223, ZoneDelegate __u224, Zone __u225, Duration __
u226, void __u227(Timer __u228)); |
| 681 typedef void __t230(Zone __u231, ZoneDelegate __u232, Zone __u233, String __u23
4); | 681 typedef void __t230(Zone __u231, ZoneDelegate __u232, Zone __u233, String __u23
4); |
| 682 typedef Zone __t236(Zone __u237, ZoneDelegate __u238, Zone __u239, ZoneSpecific
ation __u240, Map<dynamic, dynamic> __u241); | 682 typedef Zone __t236(Zone __u237, ZoneDelegate __u238, Zone __u239, ZoneSpecific
ation __u240, Map<dynamic, dynamic> __u241); |
| 683 typedef void __t258(Timer __u259); | 683 typedef void __t258(Timer __u259); |
| OLD | NEW |