arrow-resilience-kit 0.8.0 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -98,23 +98,23 @@ if (typeof Math.clz32 === 'undefined') {
98
98
  initMetadataForInterface(Comparator, 'Comparator');
99
99
  initMetadataForObject(Unit, 'Unit');
100
100
  initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
101
- initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [Collection, MutableIterable]);
101
+ initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [MutableIterable, Collection]);
102
102
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
103
103
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
104
- initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [KtList, Collection, MutableIterable]);
104
+ initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [Collection, MutableIterable, KtList]);
105
105
  initMetadataForClass(AbstractMap, 'AbstractMap', VOID, VOID, [KtMap]);
106
106
  initMetadataForClass(AbstractMutableMap, 'AbstractMutableMap', VOID, AbstractMap, [KtMap]);
107
- initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [Collection, KtSet, MutableIterable]);
107
+ initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [Collection, MutableIterable, KtSet]);
108
108
  initMetadataForCompanion(Companion_1);
109
109
  initMetadataForInterface(RandomAccess, 'RandomAccess');
110
- initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [KtList, Collection, MutableIterable, RandomAccess]);
110
+ initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [Collection, MutableIterable, KtList, RandomAccess]);
111
111
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [KtMap]);
112
- initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [Collection, KtSet, MutableIterable]);
113
- initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [Collection, KtSet, MutableIterable]);
112
+ initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [Collection, MutableIterable, KtSet]);
113
+ initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [Collection, MutableIterable, KtSet]);
114
114
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
115
115
  initMetadataForClass(HashMapKeysDefault$iterator$1);
116
116
  initMetadataForClass(HashMapKeysDefault, 'HashMapKeysDefault', VOID, AbstractMutableSet);
117
- initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [Collection, KtSet, MutableIterable]);
117
+ initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [Collection, MutableIterable, KtSet]);
118
118
  initMetadataForCompanion(Companion_2);
119
119
  initMetadataForClass(Itr, 'Itr');
120
120
  initMetadataForClass(KeysItr, 'KeysItr', VOID, Itr);
@@ -158,7 +158,7 @@ if (typeof Math.clz32 === 'undefined') {
158
158
  initMetadataForInterface(InternalMap, 'InternalMap');
159
159
  initMetadataForClass(InternalHashMap, 'InternalHashMap', InternalHashMap_init_$Create$, VOID, [InternalMap]);
160
160
  initMetadataForClass(LinkedHashMap, 'LinkedHashMap', LinkedHashMap_init_$Create$, HashMap, [KtMap]);
161
- initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [Collection, KtSet, MutableIterable]);
161
+ initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [Collection, MutableIterable, KtSet]);
162
162
  initMetadataForClass(AtomicReference, 'AtomicReference');
163
163
  initMetadataForClass(BaseOutput, 'BaseOutput');
164
164
  initMetadataForClass(NodeJsOutput, 'NodeJsOutput', VOID, BaseOutput);
@@ -178,8 +178,8 @@ if (typeof Math.clz32 === 'undefined') {
178
178
  initMetadataForClass(ArithmeticException, 'ArithmeticException', ArithmeticException_init_$Create$, RuntimeException);
179
179
  initMetadataForClass(Error_0, 'Error', Error_init_$Create$, Error);
180
180
  initMetadataForClass(AssertionError, 'AssertionError', AssertionError_init_$Create$, Error_0);
181
- initMetadataForClass(ClassCastException, 'ClassCastException', ClassCastException_init_$Create$, RuntimeException);
182
181
  initMetadataForClass(UninitializedPropertyAccessException, 'UninitializedPropertyAccessException', UninitializedPropertyAccessException_init_$Create$, RuntimeException);
182
+ initMetadataForClass(ClassCastException, 'ClassCastException', ClassCastException_init_$Create$, RuntimeException);
183
183
  initMetadataForClass(NoWhenBranchMatchedException, 'NoWhenBranchMatchedException', NoWhenBranchMatchedException_init_$Create$, RuntimeException);
184
184
  initMetadataForClass(NullPointerException, 'NullPointerException', NullPointerException_init_$Create$, RuntimeException);
185
185
  initMetadataForInterface(KClass, 'KClass');
@@ -4085,29 +4085,6 @@ if (typeof Math.clz32 === 'undefined') {
4085
4085
  function AssertionError() {
4086
4086
  captureStack(this, AssertionError);
4087
4087
  }
4088
- function ClassCastException_init_$Init$($this) {
4089
- RuntimeException_init_$Init$($this);
4090
- ClassCastException.call($this);
4091
- return $this;
4092
- }
4093
- function ClassCastException_init_$Create$() {
4094
- var tmp = ClassCastException_init_$Init$(objectCreate(protoOf(ClassCastException)));
4095
- captureStack(tmp, ClassCastException_init_$Create$);
4096
- return tmp;
4097
- }
4098
- function ClassCastException_init_$Init$_0(message, $this) {
4099
- RuntimeException_init_$Init$_0(message, $this);
4100
- ClassCastException.call($this);
4101
- return $this;
4102
- }
4103
- function ClassCastException_init_$Create$_0(message) {
4104
- var tmp = ClassCastException_init_$Init$_0(message, objectCreate(protoOf(ClassCastException)));
4105
- captureStack(tmp, ClassCastException_init_$Create$_0);
4106
- return tmp;
4107
- }
4108
- function ClassCastException() {
4109
- captureStack(this, ClassCastException);
4110
- }
4111
4088
  function UninitializedPropertyAccessException_init_$Init$($this) {
4112
4089
  RuntimeException_init_$Init$($this);
4113
4090
  UninitializedPropertyAccessException.call($this);
@@ -4131,6 +4108,29 @@ if (typeof Math.clz32 === 'undefined') {
4131
4108
  function UninitializedPropertyAccessException() {
4132
4109
  captureStack(this, UninitializedPropertyAccessException);
4133
4110
  }
4111
+ function ClassCastException_init_$Init$($this) {
4112
+ RuntimeException_init_$Init$($this);
4113
+ ClassCastException.call($this);
4114
+ return $this;
4115
+ }
4116
+ function ClassCastException_init_$Create$() {
4117
+ var tmp = ClassCastException_init_$Init$(objectCreate(protoOf(ClassCastException)));
4118
+ captureStack(tmp, ClassCastException_init_$Create$);
4119
+ return tmp;
4120
+ }
4121
+ function ClassCastException_init_$Init$_0(message, $this) {
4122
+ RuntimeException_init_$Init$_0(message, $this);
4123
+ ClassCastException.call($this);
4124
+ return $this;
4125
+ }
4126
+ function ClassCastException_init_$Create$_0(message) {
4127
+ var tmp = ClassCastException_init_$Init$_0(message, objectCreate(protoOf(ClassCastException)));
4128
+ captureStack(tmp, ClassCastException_init_$Create$_0);
4129
+ return tmp;
4130
+ }
4131
+ function ClassCastException() {
4132
+ captureStack(this, ClassCastException);
4133
+ }
4134
4134
  function NoWhenBranchMatchedException_init_$Init$($this) {
4135
4135
  RuntimeException_init_$Init$($this);
4136
4136
  NoWhenBranchMatchedException.call($this);
@@ -7282,6 +7282,35 @@ if (typeof Math.clz32 === 'undefined') {
7282
7282
  protoOf(DelimitedRangesSequence).iterator_jk1svi_k$ = function () {
7283
7283
  return new DelimitedRangesSequence$iterator$1(this);
7284
7284
  };
7285
+ function contains_0(_this__u8e3s4, other, ignoreCase) {
7286
+ ignoreCase = ignoreCase === VOID ? false : ignoreCase;
7287
+ var tmp;
7288
+ if (typeof other === 'string') {
7289
+ tmp = indexOf_0(_this__u8e3s4, other, VOID, ignoreCase) >= 0;
7290
+ } else {
7291
+ tmp = indexOf_1(_this__u8e3s4, other, 0, charSequenceLength(_this__u8e3s4), ignoreCase) >= 0;
7292
+ }
7293
+ return tmp;
7294
+ }
7295
+ function lastIndexOf(_this__u8e3s4, string, startIndex, ignoreCase) {
7296
+ startIndex = startIndex === VOID ? get_lastIndex_1(_this__u8e3s4) : startIndex;
7297
+ ignoreCase = ignoreCase === VOID ? false : ignoreCase;
7298
+ var tmp;
7299
+ var tmp_0;
7300
+ if (ignoreCase) {
7301
+ tmp_0 = true;
7302
+ } else {
7303
+ tmp_0 = !(typeof _this__u8e3s4 === 'string');
7304
+ }
7305
+ if (tmp_0) {
7306
+ tmp = indexOf_1(_this__u8e3s4, string, startIndex, 0, ignoreCase, true);
7307
+ } else {
7308
+ // Inline function 'kotlin.text.nativeLastIndexOf' call
7309
+ // Inline function 'kotlin.js.asDynamic' call
7310
+ tmp = _this__u8e3s4.lastIndexOf(string, startIndex);
7311
+ }
7312
+ return tmp;
7313
+ }
7285
7314
  function split_0(_this__u8e3s4, delimiters, ignoreCase, limit) {
7286
7315
  ignoreCase = ignoreCase === VOID ? false : ignoreCase;
7287
7316
  limit = limit === VOID ? 0 : limit;
@@ -7314,16 +7343,6 @@ if (typeof Math.clz32 === 'undefined') {
7314
7343
  var index = indexOf_0(_this__u8e3s4, delimiter);
7315
7344
  return index === -1 ? missingDelimiterValue : substring(_this__u8e3s4, 0, index);
7316
7345
  }
7317
- function contains_0(_this__u8e3s4, other, ignoreCase) {
7318
- ignoreCase = ignoreCase === VOID ? false : ignoreCase;
7319
- var tmp;
7320
- if (typeof other === 'string') {
7321
- tmp = indexOf_0(_this__u8e3s4, other, VOID, ignoreCase) >= 0;
7322
- } else {
7323
- tmp = indexOf_1(_this__u8e3s4, other, 0, charSequenceLength(_this__u8e3s4), ignoreCase) >= 0;
7324
- }
7325
- return tmp;
7326
- }
7327
7346
  function rangesDelimitedBy(_this__u8e3s4, delimiters, startIndex, ignoreCase, limit) {
7328
7347
  startIndex = startIndex === VOID ? 0 : startIndex;
7329
7348
  ignoreCase = ignoreCase === VOID ? false : ignoreCase;
@@ -7332,25 +7351,6 @@ if (typeof Math.clz32 === 'undefined') {
7332
7351
  var delimitersList = asList(delimiters);
7333
7352
  return new DelimitedRangesSequence(_this__u8e3s4, startIndex, limit, rangesDelimitedBy$lambda(delimitersList, ignoreCase));
7334
7353
  }
7335
- function lastIndexOf(_this__u8e3s4, string, startIndex, ignoreCase) {
7336
- startIndex = startIndex === VOID ? get_lastIndex_1(_this__u8e3s4) : startIndex;
7337
- ignoreCase = ignoreCase === VOID ? false : ignoreCase;
7338
- var tmp;
7339
- var tmp_0;
7340
- if (ignoreCase) {
7341
- tmp_0 = true;
7342
- } else {
7343
- tmp_0 = !(typeof _this__u8e3s4 === 'string');
7344
- }
7345
- if (tmp_0) {
7346
- tmp = indexOf_1(_this__u8e3s4, string, startIndex, 0, ignoreCase, true);
7347
- } else {
7348
- // Inline function 'kotlin.text.nativeLastIndexOf' call
7349
- // Inline function 'kotlin.js.asDynamic' call
7350
- tmp = _this__u8e3s4.lastIndexOf(string, startIndex);
7351
- }
7352
- return tmp;
7353
- }
7354
7354
  function findAnyOf(_this__u8e3s4, strings, startIndex, ignoreCase, last) {
7355
7355
  if (!ignoreCase && strings.get_size_woubt6_k$() === 1) {
7356
7356
  var string = single_0(strings);