@flock/wirespec 0.21.1 → 0.22.1
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.
- package/arrow-arrow-atomic.mjs +14 -14
- package/arrow-arrow-atomic.mjs.map +1 -1
- package/arrow-arrow-core.mjs +187 -182
- package/arrow-arrow-core.mjs.map +1 -1
- package/clikt-clikt-mordant.mjs +89 -89
- package/clikt-clikt-mordant.mjs.map +1 -1
- package/clikt-clikt.mjs +1704 -1706
- package/clikt-clikt.mjs.map +1 -1
- package/colormath-root-colormath.mjs +465 -465
- package/colormath-root-colormath.mjs.map +1 -1
- package/kotlin-kotlin-stdlib.mjs +2644 -2481
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs +10373 -10346
- package/kotlin-openapi-bindings.mjs.map +1 -1
- package/kotlin-rgxgen.mjs +1851 -1855
- package/kotlin-rgxgen.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core.mjs +469 -469
- package/kotlinx-io-kotlinx-io-core.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +2038 -2046
- package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1859 -1813
- package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
- package/mordant-mordant.mjs +1452 -1447
- package/mordant-mordant.mjs.map +1 -1
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +25964 -3598
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +373 -469
- package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-kotlin.mjs +327 -382
- package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-python.mjs +355 -354
- package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-rust.mjs +756 -754
- package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-scala.mjs +361 -361
- package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-typescript.mjs +484 -472
- package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-wirespec.mjs +434 -153
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-compiler-lib.mjs +978 -441
- package/wirespec-src-compiler-lib.mjs.map +1 -1
- package/wirespec-src-converter-asyncapi.mjs +5382 -0
- package/wirespec-src-converter-asyncapi.mjs.map +1 -0
- package/wirespec-src-converter-avro.mjs +1297 -725
- package/wirespec-src-converter-avro.mjs.map +1 -1
- package/wirespec-src-converter-common.mjs +267 -0
- package/wirespec-src-converter-common.mjs.map +1 -1
- package/wirespec-src-converter-graphql.mjs +5691 -0
- package/wirespec-src-converter-graphql.mjs.map +1 -0
- package/wirespec-src-converter-openapi.mjs +1304 -1225
- package/wirespec-src-converter-openapi.mjs.map +1 -1
- package/wirespec-src-ide-lsp.mjs +1728 -1642
- package/wirespec-src-ide-lsp.mjs.map +1 -1
- package/wirespec-src-plugin-arguments.mjs +301 -240
- package/wirespec-src-plugin-arguments.mjs.map +1 -1
- package/wirespec-src-plugin-cli.mjs +161 -133
- package/wirespec-src-plugin-cli.mjs.map +1 -1
- package/wirespec-src-plugin-npm.d.mts +216 -29
- package/wirespec-src-plugin-npm.mjs +188 -95
- package/wirespec-src-plugin-npm.mjs.map +1 -1
- package/wirespec-src-tools-generator.mjs +61 -53
- package/wirespec-src-tools-generator.mjs.map +1 -1
- package/wirespec-src-compiler-ir.mjs +0 -18912
- package/wirespec-src-compiler-ir.mjs.map +0 -1
package/arrow-arrow-core.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
protoOf180f3jzyo7rfj as protoOf,
|
|
3
3
|
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
|
|
4
|
-
|
|
4
|
+
Unit_instancev9v8hjid95df as Unit_instance,
|
|
5
5
|
toString30pk9tzaqopn as toString,
|
|
6
6
|
hashCodeq5arwsb9dgti as hashCode,
|
|
7
7
|
equals2au1ep9vhcato as equals,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
VOID3gxj6tk5isa35 as VOID,
|
|
10
10
|
noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException,
|
|
11
11
|
checkBuilderCapacity1h6g02949wvv as checkBuilderCapacity,
|
|
12
|
-
ArrayList_init_$Create$
|
|
12
|
+
ArrayList_init_$Create$2byt5m5yn22yy as ArrayList_init_$Create$,
|
|
13
13
|
THROW_CCE2g6jy02ryeudk as THROW_CCE,
|
|
14
14
|
isInterface3d6p8outrmvmk as isInterface,
|
|
15
15
|
throwKotlinNothingValueException2lxmvl03dor6f as throwKotlinNothingValueException,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
setOf1u3mizs95ngxo as setOf,
|
|
26
26
|
plus1ogy4liedzq5j as plus_2,
|
|
27
27
|
collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault,
|
|
28
|
-
ArrayList_init_$Create$
|
|
28
|
+
ArrayList_init_$Create$37gc04va6yfo2 as ArrayList_init_$Create$_0,
|
|
29
29
|
addAll1k27qatfgp3k5 as addAll,
|
|
30
30
|
KtSetjrjc7fhfd6b9 as KtSet,
|
|
31
31
|
asIterable314gqyxouondo as asIterable,
|
|
@@ -33,12 +33,12 @@ import {
|
|
|
33
33
|
captureStack1fzi4aczwc4hg as captureStack,
|
|
34
34
|
defineProp3ur6h3slcvq4x as defineProp,
|
|
35
35
|
IllegalStateExceptionkoljg5n0nrlr as IllegalStateException,
|
|
36
|
-
IllegalStateException_init_$Init$
|
|
36
|
+
IllegalStateException_init_$Init$22echgkfx1r7y as IllegalStateException_init_$Init$,
|
|
37
37
|
initMetadataForInterface1egvbzx539z91 as initMetadataForInterface,
|
|
38
38
|
objectCreate1ve4bgxiu4x98 as objectCreate,
|
|
39
|
-
IllegalArgumentException_init_$Create$
|
|
39
|
+
IllegalArgumentException_init_$Create$i4126l9nkbuo as IllegalArgumentException_init_$Create$,
|
|
40
40
|
CancellationException3b36o9qz53rgr as CancellationException,
|
|
41
|
-
CancellationException_init_$Init$
|
|
41
|
+
CancellationException_init_$Init$2n8cjdt10du5s as CancellationException_init_$Init$,
|
|
42
42
|
} from './kotlin-kotlin-stdlib.mjs';
|
|
43
43
|
import { nonFatalOrThrow35agffkx4bbtz as nonFatalOrThrow } from './arrow-arrow-exception-utils.mjs';
|
|
44
44
|
import { AtomicBoolean19soryb213qw as AtomicBoolean } from './arrow-arrow-atomic.mjs';
|
|
@@ -57,10 +57,10 @@ initMetadataForCompanion(Companion_3);
|
|
|
57
57
|
initMetadataForClass(NonEmptySet, 'NonEmptySet', VOID, VOID, [KtSet, Collection]);
|
|
58
58
|
function bind(_this__u8e3s4) {
|
|
59
59
|
if (_this__u8e3s4 instanceof Left) {
|
|
60
|
-
this.
|
|
60
|
+
this.gn(_this__u8e3s4.sm_1);
|
|
61
61
|
} else {
|
|
62
62
|
if (_this__u8e3s4 instanceof Right)
|
|
63
|
-
return _this__u8e3s4.
|
|
63
|
+
return _this__u8e3s4.um_1;
|
|
64
64
|
else {
|
|
65
65
|
noWhenBranchMatchedException();
|
|
66
66
|
}
|
|
@@ -75,8 +75,8 @@ function bindAll(_this__u8e3s4) {
|
|
|
75
75
|
var _iterator__ex2g4s = this_0.t();
|
|
76
76
|
while (_iterator__ex2g4s.u()) {
|
|
77
77
|
var item = _iterator__ex2g4s.v();
|
|
78
|
-
var tmp$ret$
|
|
79
|
-
destination.x(tmp$ret$
|
|
78
|
+
var tmp$ret$3 = this.kn(item);
|
|
79
|
+
destination.x(tmp$ret$3);
|
|
80
80
|
}
|
|
81
81
|
return _NonEmptyList___init__impl__fxd0xp(destination);
|
|
82
82
|
}
|
|
@@ -89,7 +89,7 @@ initMetadataForClass(Value, 'Value');
|
|
|
89
89
|
initMetadataForClass(Error_0, 'Error', VOID, Value);
|
|
90
90
|
initMetadataForClass(Ok, 'Ok', VOID, Value);
|
|
91
91
|
function get_hasAccumulatedErrors() {
|
|
92
|
-
return !(this.
|
|
92
|
+
return !(this.fn() == null);
|
|
93
93
|
}
|
|
94
94
|
initMetadataForInterface(Accumulate, 'Accumulate');
|
|
95
95
|
initMetadataForClass(RaiseAccumulate, 'RaiseAccumulate', VOID, VOID, [Accumulate, Raise], [1]);
|
|
@@ -104,7 +104,7 @@ function Companion_getInstance() {
|
|
|
104
104
|
}
|
|
105
105
|
function Companion_0() {
|
|
106
106
|
Companion_instance_0 = this;
|
|
107
|
-
this.
|
|
107
|
+
this.rm_1 = new Right(Unit_instance);
|
|
108
108
|
}
|
|
109
109
|
var Companion_instance_0;
|
|
110
110
|
function Companion_getInstance_0() {
|
|
@@ -114,40 +114,40 @@ function Companion_getInstance_0() {
|
|
|
114
114
|
}
|
|
115
115
|
function Left(value) {
|
|
116
116
|
Either.call(this);
|
|
117
|
-
this.
|
|
117
|
+
this.sm_1 = value;
|
|
118
118
|
}
|
|
119
119
|
protoOf(Left).toString = function () {
|
|
120
|
-
return 'Either.Left(' + toString(this.
|
|
120
|
+
return 'Either.Left(' + toString(this.sm_1) + ')';
|
|
121
121
|
};
|
|
122
122
|
protoOf(Left).hashCode = function () {
|
|
123
|
-
return this.
|
|
123
|
+
return this.sm_1 == null ? 0 : hashCode(this.sm_1);
|
|
124
124
|
};
|
|
125
125
|
protoOf(Left).equals = function (other) {
|
|
126
126
|
if (this === other)
|
|
127
127
|
return true;
|
|
128
128
|
if (!(other instanceof Left))
|
|
129
129
|
return false;
|
|
130
|
-
if (!equals(this.
|
|
130
|
+
if (!equals(this.sm_1, other.sm_1))
|
|
131
131
|
return false;
|
|
132
132
|
return true;
|
|
133
133
|
};
|
|
134
134
|
function Right(value) {
|
|
135
135
|
Companion_getInstance_0();
|
|
136
136
|
Either.call(this);
|
|
137
|
-
this.
|
|
137
|
+
this.um_1 = value;
|
|
138
138
|
}
|
|
139
139
|
protoOf(Right).toString = function () {
|
|
140
|
-
return 'Either.Right(' + toString(this.
|
|
140
|
+
return 'Either.Right(' + toString(this.um_1) + ')';
|
|
141
141
|
};
|
|
142
142
|
protoOf(Right).hashCode = function () {
|
|
143
|
-
return this.
|
|
143
|
+
return this.um_1 == null ? 0 : hashCode(this.um_1);
|
|
144
144
|
};
|
|
145
145
|
protoOf(Right).equals = function (other) {
|
|
146
146
|
if (this === other)
|
|
147
147
|
return true;
|
|
148
148
|
if (!(other instanceof Right))
|
|
149
149
|
return false;
|
|
150
|
-
if (!equals(this.
|
|
150
|
+
if (!equals(this.um_1, other.um_1))
|
|
151
151
|
return false;
|
|
152
152
|
return true;
|
|
153
153
|
};
|
|
@@ -159,15 +159,15 @@ function Companion_getInstance_1() {
|
|
|
159
159
|
}
|
|
160
160
|
function Either() {
|
|
161
161
|
}
|
|
162
|
-
protoOf(Either).
|
|
162
|
+
protoOf(Either).tm = function () {
|
|
163
163
|
// Inline function 'arrow.core.getOrElse' call
|
|
164
164
|
var tmp;
|
|
165
165
|
if (this instanceof Left) {
|
|
166
|
-
this.
|
|
166
|
+
this.sm_1;
|
|
167
167
|
tmp = null;
|
|
168
168
|
} else {
|
|
169
169
|
if (this instanceof Right) {
|
|
170
|
-
tmp = this.
|
|
170
|
+
tmp = this.um_1;
|
|
171
171
|
} else {
|
|
172
172
|
noWhenBranchMatchedException();
|
|
173
173
|
}
|
|
@@ -178,11 +178,11 @@ protoOf(Either).toString = function () {
|
|
|
178
178
|
// Inline function 'arrow.core.Either.fold' call
|
|
179
179
|
var tmp;
|
|
180
180
|
if (this instanceof Right) {
|
|
181
|
-
var it = this.
|
|
181
|
+
var it = this.um_1;
|
|
182
182
|
tmp = 'Either.Right(' + toString(it) + ')';
|
|
183
183
|
} else {
|
|
184
184
|
if (this instanceof Left) {
|
|
185
|
-
var it_0 = this.
|
|
185
|
+
var it_0 = this.sm_1;
|
|
186
186
|
tmp = 'Either.Left(' + toString(it_0) + ')';
|
|
187
187
|
} else {
|
|
188
188
|
noWhenBranchMatchedException();
|
|
@@ -190,12 +190,12 @@ protoOf(Either).toString = function () {
|
|
|
190
190
|
}
|
|
191
191
|
return tmp;
|
|
192
192
|
};
|
|
193
|
-
function right(_this__u8e3s4) {
|
|
194
|
-
return new Right(_this__u8e3s4);
|
|
195
|
-
}
|
|
196
193
|
function left(_this__u8e3s4) {
|
|
197
194
|
return new Left(_this__u8e3s4);
|
|
198
195
|
}
|
|
196
|
+
function right(_this__u8e3s4) {
|
|
197
|
+
return new Right(_this__u8e3s4);
|
|
198
|
+
}
|
|
199
199
|
function flattenOrAccumulate(_this__u8e3s4) {
|
|
200
200
|
// Inline function 'arrow.core.mapOrAccumulate' call
|
|
201
201
|
// Inline function 'arrow.core.raise.either' call
|
|
@@ -237,27 +237,27 @@ function flattenOrAccumulate(_this__u8e3s4) {
|
|
|
237
237
|
try {
|
|
238
238
|
var tmp_2 = tolerant(this_1, raise_0);
|
|
239
239
|
var $this$accumulating = new RaiseAccumulate(tmp_2, raise_1, flattenOrAccumulate$lambda(raise_1));
|
|
240
|
-
var hasErrors = $this$accumulating.
|
|
240
|
+
var hasErrors = $this$accumulating.ym();
|
|
241
241
|
// Inline function 'kotlin.also' call
|
|
242
|
-
var this_2 = $this$accumulating.
|
|
242
|
+
var this_2 = $this$accumulating.zm(element);
|
|
243
243
|
if (!hasErrors) {
|
|
244
244
|
this_0.x(this_2);
|
|
245
245
|
}
|
|
246
246
|
var res = new Ok(Unit_instance);
|
|
247
|
-
raise_1.
|
|
247
|
+
raise_1.cn();
|
|
248
248
|
// Inline function 'arrow.core.identity' call
|
|
249
249
|
tmp_1 = res;
|
|
250
250
|
} catch ($p) {
|
|
251
251
|
var tmp_3;
|
|
252
252
|
if ($p instanceof RaiseCancellationException) {
|
|
253
253
|
var e = $p;
|
|
254
|
-
raise_1.
|
|
255
|
-
var p0 = raisedOrRethrow(e, raise_1).
|
|
256
|
-
tmp_3 = this_1.
|
|
254
|
+
raise_1.cn();
|
|
255
|
+
var p0 = raisedOrRethrow(e, raise_1).dn_1;
|
|
256
|
+
tmp_3 = this_1.en(p0);
|
|
257
257
|
} else {
|
|
258
258
|
if ($p instanceof Error) {
|
|
259
259
|
var e_0 = $p;
|
|
260
|
-
raise_1.
|
|
260
|
+
raise_1.cn();
|
|
261
261
|
throw nonFatalOrThrow(e_0);
|
|
262
262
|
} else {
|
|
263
263
|
throw $p;
|
|
@@ -266,20 +266,20 @@ function flattenOrAccumulate(_this__u8e3s4) {
|
|
|
266
266
|
tmp_1 = tmp_3;
|
|
267
267
|
}
|
|
268
268
|
var res_0 = tmp_1;
|
|
269
|
-
raise_0.
|
|
269
|
+
raise_0.cn();
|
|
270
270
|
// Inline function 'arrow.core.identity' call
|
|
271
271
|
tmp_0 = res_0;
|
|
272
272
|
} catch ($p) {
|
|
273
273
|
var tmp_4;
|
|
274
274
|
if ($p instanceof RaiseCancellationException) {
|
|
275
275
|
var e_1 = $p;
|
|
276
|
-
raise_0.
|
|
276
|
+
raise_0.cn();
|
|
277
277
|
// Inline function 'arrow.core.identity' call
|
|
278
278
|
tmp_4 = raisedOrRethrow(e_1, raise_0);
|
|
279
279
|
} else {
|
|
280
280
|
if ($p instanceof Error) {
|
|
281
281
|
var e_2 = $p;
|
|
282
|
-
raise_0.
|
|
282
|
+
raise_0.cn();
|
|
283
283
|
throw nonFatalOrThrow(e_2);
|
|
284
284
|
} else {
|
|
285
285
|
throw $p;
|
|
@@ -289,29 +289,29 @@ function flattenOrAccumulate(_this__u8e3s4) {
|
|
|
289
289
|
}
|
|
290
290
|
}
|
|
291
291
|
var result = Unit_instance;
|
|
292
|
-
if ($this$with.
|
|
293
|
-
var tmp0_safe_receiver = $this$with.
|
|
292
|
+
if ($this$with.ym()) {
|
|
293
|
+
var tmp0_safe_receiver = $this$with.fn();
|
|
294
294
|
if (tmp0_safe_receiver == null)
|
|
295
295
|
null;
|
|
296
296
|
else {
|
|
297
|
-
tmp0_safe_receiver.
|
|
297
|
+
tmp0_safe_receiver.o1();
|
|
298
298
|
throwKotlinNothingValueException();
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
|
-
var res_1 = this_0.
|
|
302
|
-
raise.
|
|
301
|
+
var res_1 = this_0.q5();
|
|
302
|
+
raise.cn();
|
|
303
303
|
tmp = new Right(res_1);
|
|
304
304
|
} catch ($p) {
|
|
305
305
|
var tmp_5;
|
|
306
306
|
if ($p instanceof RaiseCancellationException) {
|
|
307
307
|
var e_3 = $p;
|
|
308
|
-
raise.
|
|
308
|
+
raise.cn();
|
|
309
309
|
var it = raisedOrRethrow(e_3, raise);
|
|
310
310
|
tmp_5 = new Left(it);
|
|
311
311
|
} else {
|
|
312
312
|
if ($p instanceof Error) {
|
|
313
313
|
var e_4 = $p;
|
|
314
|
-
raise.
|
|
314
|
+
raise.cn();
|
|
315
315
|
throw nonFatalOrThrow(e_4);
|
|
316
316
|
} else {
|
|
317
317
|
throw $p;
|
|
@@ -334,7 +334,7 @@ function flattenOrAccumulate$lambda($$this$recover) {
|
|
|
334
334
|
return function (it) {
|
|
335
335
|
// Inline function 'arrow.core.nel' call
|
|
336
336
|
var tmp$ret$0 = _NonEmptyList___init__impl__fxd0xp(listOf(it));
|
|
337
|
-
$$this$recover.
|
|
337
|
+
$$this$recover.gn(new NonEmptyList(tmp$ret$0));
|
|
338
338
|
};
|
|
339
339
|
}
|
|
340
340
|
function _NonEmptyList___init__impl__fxd0xp(all) {
|
|
@@ -349,7 +349,7 @@ function _NonEmptyList___init__impl__fxd0xp_0(head, tail) {
|
|
|
349
349
|
function NonEmptyList__equals_impl_crn5lc($this, other) {
|
|
350
350
|
var tmp;
|
|
351
351
|
if (other instanceof NonEmptyList) {
|
|
352
|
-
tmp = equals(_NonEmptyList___get_all__impl__pmf509($this), _NonEmptyList___get_all__impl__pmf509(other.
|
|
352
|
+
tmp = equals(_NonEmptyList___get_all__impl__pmf509($this), _NonEmptyList___get_all__impl__pmf509(other.dn_1));
|
|
353
353
|
} else {
|
|
354
354
|
tmp = equals(_NonEmptyList___get_all__impl__pmf509($this), other);
|
|
355
355
|
}
|
|
@@ -368,7 +368,7 @@ function _NonEmptyList___get_head__impl__q9oenq($this) {
|
|
|
368
368
|
return first(_NonEmptyList___get_all__impl__pmf509($this));
|
|
369
369
|
}
|
|
370
370
|
function _NonEmptyList___get_tail__impl__t91bd2($this) {
|
|
371
|
-
return _NonEmptyList___get_all__impl__pmf509($this).
|
|
371
|
+
return _NonEmptyList___get_all__impl__pmf509($this).o2(1, _NonEmptyList___get_all__impl__pmf509($this).b1());
|
|
372
372
|
}
|
|
373
373
|
function NonEmptyList__plus_impl_xqmb9($this, elements) {
|
|
374
374
|
return _NonEmptyList___init__impl__fxd0xp(plus(_NonEmptyList___get_all__impl__pmf509($this), elements));
|
|
@@ -381,7 +381,7 @@ function NonEmptyList__toString_impl_ozxm8z($this) {
|
|
|
381
381
|
}
|
|
382
382
|
function Companion_2() {
|
|
383
383
|
Companion_instance_2 = this;
|
|
384
|
-
this.
|
|
384
|
+
this.hn_1 = nonEmptyListOf(Unit_instance, []);
|
|
385
385
|
}
|
|
386
386
|
var Companion_instance_2;
|
|
387
387
|
function Companion_getInstance_2() {
|
|
@@ -390,7 +390,7 @@ function Companion_getInstance_2() {
|
|
|
390
390
|
return Companion_instance_2;
|
|
391
391
|
}
|
|
392
392
|
function NonEmptyList__contains_impl_w1668g($this, element) {
|
|
393
|
-
return $this.
|
|
393
|
+
return $this.i1(element);
|
|
394
394
|
}
|
|
395
395
|
function NonEmptyList__iterator_impl_kgqsin($this) {
|
|
396
396
|
return $this.t();
|
|
@@ -398,48 +398,54 @@ function NonEmptyList__iterator_impl_kgqsin($this) {
|
|
|
398
398
|
function NonEmptyList__get_impl_oqktx($this, index) {
|
|
399
399
|
return $this.c1(index);
|
|
400
400
|
}
|
|
401
|
+
function NonEmptyList__indexOf_impl_lnwyla($this, element) {
|
|
402
|
+
return $this.j1(element);
|
|
403
|
+
}
|
|
401
404
|
function NonEmptyList__listIterator_impl_8vm28t($this, index) {
|
|
402
405
|
return $this.h1(index);
|
|
403
406
|
}
|
|
404
407
|
function NonEmptyList__subList_impl_8uxff1($this, fromIndex, toIndex) {
|
|
405
|
-
return $this.
|
|
408
|
+
return $this.o2(fromIndex, toIndex);
|
|
406
409
|
}
|
|
407
410
|
function _NonEmptyList___get_size__impl__xcrchh($this) {
|
|
408
411
|
return $this.b1();
|
|
409
412
|
}
|
|
410
413
|
function NonEmptyList(all) {
|
|
411
414
|
Companion_getInstance_2();
|
|
412
|
-
this.
|
|
415
|
+
this.dn_1 = all;
|
|
413
416
|
}
|
|
414
417
|
protoOf(NonEmptyList).equals = function (other) {
|
|
415
|
-
return NonEmptyList__equals_impl_crn5lc(this.
|
|
418
|
+
return NonEmptyList__equals_impl_crn5lc(this.dn_1, other);
|
|
416
419
|
};
|
|
417
420
|
protoOf(NonEmptyList).hashCode = function () {
|
|
418
|
-
return NonEmptyList__hashCode_impl_38rpg4(this.
|
|
421
|
+
return NonEmptyList__hashCode_impl_38rpg4(this.dn_1);
|
|
419
422
|
};
|
|
420
423
|
protoOf(NonEmptyList).r = function () {
|
|
421
|
-
return NonEmptyList__isEmpty_impl_cueu5k(this.
|
|
424
|
+
return NonEmptyList__isEmpty_impl_cueu5k(this.dn_1);
|
|
422
425
|
};
|
|
423
426
|
protoOf(NonEmptyList).toString = function () {
|
|
424
|
-
return NonEmptyList__toString_impl_ozxm8z(this.
|
|
427
|
+
return NonEmptyList__toString_impl_ozxm8z(this.dn_1);
|
|
425
428
|
};
|
|
426
|
-
protoOf(NonEmptyList).
|
|
427
|
-
return NonEmptyList__contains_impl_w1668g(this.
|
|
429
|
+
protoOf(NonEmptyList).i1 = function (element) {
|
|
430
|
+
return NonEmptyList__contains_impl_w1668g(this.dn_1, element);
|
|
428
431
|
};
|
|
429
432
|
protoOf(NonEmptyList).t = function () {
|
|
430
|
-
return NonEmptyList__iterator_impl_kgqsin(this.
|
|
433
|
+
return NonEmptyList__iterator_impl_kgqsin(this.dn_1);
|
|
431
434
|
};
|
|
432
435
|
protoOf(NonEmptyList).c1 = function (index) {
|
|
433
|
-
return NonEmptyList__get_impl_oqktx(this.
|
|
436
|
+
return NonEmptyList__get_impl_oqktx(this.dn_1, index);
|
|
437
|
+
};
|
|
438
|
+
protoOf(NonEmptyList).j1 = function (element) {
|
|
439
|
+
return NonEmptyList__indexOf_impl_lnwyla(this.dn_1, element);
|
|
434
440
|
};
|
|
435
441
|
protoOf(NonEmptyList).h1 = function (index) {
|
|
436
|
-
return NonEmptyList__listIterator_impl_8vm28t(this.
|
|
442
|
+
return NonEmptyList__listIterator_impl_8vm28t(this.dn_1, index);
|
|
437
443
|
};
|
|
438
|
-
protoOf(NonEmptyList).
|
|
439
|
-
return NonEmptyList__subList_impl_8uxff1(this.
|
|
444
|
+
protoOf(NonEmptyList).o2 = function (fromIndex, toIndex) {
|
|
445
|
+
return NonEmptyList__subList_impl_8uxff1(this.dn_1, fromIndex, toIndex);
|
|
440
446
|
};
|
|
441
447
|
protoOf(NonEmptyList).b1 = function () {
|
|
442
|
-
return _NonEmptyList___get_size__impl__xcrchh(this.
|
|
448
|
+
return _NonEmptyList___get_size__impl__xcrchh(this.dn_1);
|
|
443
449
|
};
|
|
444
450
|
function nonEmptyListOf(head, t) {
|
|
445
451
|
return _NonEmptyList___init__impl__fxd0xp(plus_1(listOf(head), t));
|
|
@@ -503,43 +509,43 @@ function Companion_getInstance_3() {
|
|
|
503
509
|
return Companion_instance_3;
|
|
504
510
|
}
|
|
505
511
|
function NonEmptySet__contains_impl_tkiyt0($this, element) {
|
|
506
|
-
return $this.
|
|
512
|
+
return $this.i1(element);
|
|
507
513
|
}
|
|
508
514
|
function NonEmptySet__iterator_impl_b1bvkz($this) {
|
|
509
515
|
return $this.t();
|
|
510
516
|
}
|
|
511
517
|
function NonEmptySet__containsAll_impl_kivnxv($this, elements) {
|
|
512
|
-
return $this.
|
|
518
|
+
return $this.p2(elements);
|
|
513
519
|
}
|
|
514
520
|
function _NonEmptySet___get_size__impl__tvkxr($this) {
|
|
515
521
|
return $this.b1();
|
|
516
522
|
}
|
|
517
523
|
function NonEmptySet(elements) {
|
|
518
|
-
this.
|
|
524
|
+
this.in_1 = elements;
|
|
519
525
|
}
|
|
520
526
|
protoOf(NonEmptySet).r = function () {
|
|
521
|
-
return NonEmptySet__isEmpty_impl_56jel0(this.
|
|
527
|
+
return NonEmptySet__isEmpty_impl_56jel0(this.in_1);
|
|
522
528
|
};
|
|
523
529
|
protoOf(NonEmptySet).toString = function () {
|
|
524
|
-
return NonEmptySet__toString_impl_yfcj6n(this.
|
|
530
|
+
return NonEmptySet__toString_impl_yfcj6n(this.in_1);
|
|
525
531
|
};
|
|
526
532
|
protoOf(NonEmptySet).equals = function (other) {
|
|
527
|
-
return NonEmptySet__equals_impl_2ou2p8(this.
|
|
533
|
+
return NonEmptySet__equals_impl_2ou2p8(this.in_1, other);
|
|
528
534
|
};
|
|
529
535
|
protoOf(NonEmptySet).hashCode = function () {
|
|
530
|
-
return NonEmptySet__hashCode_impl_co6mds(this.
|
|
536
|
+
return NonEmptySet__hashCode_impl_co6mds(this.in_1);
|
|
531
537
|
};
|
|
532
|
-
protoOf(NonEmptySet).
|
|
533
|
-
return NonEmptySet__contains_impl_tkiyt0(this.
|
|
538
|
+
protoOf(NonEmptySet).i1 = function (element) {
|
|
539
|
+
return NonEmptySet__contains_impl_tkiyt0(this.in_1, element);
|
|
534
540
|
};
|
|
535
541
|
protoOf(NonEmptySet).t = function () {
|
|
536
|
-
return NonEmptySet__iterator_impl_b1bvkz(this.
|
|
542
|
+
return NonEmptySet__iterator_impl_b1bvkz(this.in_1);
|
|
537
543
|
};
|
|
538
|
-
protoOf(NonEmptySet).
|
|
539
|
-
return NonEmptySet__containsAll_impl_kivnxv(this.
|
|
544
|
+
protoOf(NonEmptySet).p2 = function (elements) {
|
|
545
|
+
return NonEmptySet__containsAll_impl_kivnxv(this.in_1, elements);
|
|
540
546
|
};
|
|
541
547
|
protoOf(NonEmptySet).b1 = function () {
|
|
542
|
-
return _NonEmptySet___get_size__impl__tvkxr(this.
|
|
548
|
+
return _NonEmptySet___get_size__impl__tvkxr(this.in_1);
|
|
543
549
|
};
|
|
544
550
|
function nonEmptySetOf(first, rest) {
|
|
545
551
|
return _NonEmptySet___init__impl__248bef_0(first, asIterable(rest));
|
|
@@ -551,34 +557,33 @@ function wrapAsNonEmptySetOrNull(_this__u8e3s4) {
|
|
|
551
557
|
return _this__u8e3s4.r() ? null : _NonEmptySet___init__impl__248bef(_this__u8e3s4);
|
|
552
558
|
}
|
|
553
559
|
function DefaultRaise(isTraced) {
|
|
554
|
-
this.
|
|
555
|
-
this.
|
|
560
|
+
this.an_1 = isTraced;
|
|
561
|
+
this.bn_1 = new AtomicBoolean(true);
|
|
556
562
|
}
|
|
557
|
-
protoOf(DefaultRaise).
|
|
558
|
-
return this.
|
|
563
|
+
protoOf(DefaultRaise).cn = function () {
|
|
564
|
+
return this.bn_1.nm(false);
|
|
559
565
|
};
|
|
560
|
-
protoOf(DefaultRaise).
|
|
566
|
+
protoOf(DefaultRaise).jn = function (r) {
|
|
561
567
|
var tmp;
|
|
562
|
-
if (this.
|
|
563
|
-
throw this.
|
|
568
|
+
if (this.bn_1.o1()) {
|
|
569
|
+
throw this.an_1 ? new Traced(r, this) : NoTrace(r, this);
|
|
564
570
|
} else {
|
|
565
571
|
throw new RaiseLeakedException();
|
|
566
572
|
}
|
|
567
573
|
};
|
|
568
|
-
protoOf(DefaultRaise).
|
|
569
|
-
return this.
|
|
574
|
+
protoOf(DefaultRaise).gn = function (r) {
|
|
575
|
+
return this.jn(r);
|
|
570
576
|
};
|
|
571
577
|
function raisedOrRethrow(_this__u8e3s4, raise) {
|
|
572
578
|
var tmp;
|
|
573
579
|
var tmp_0;
|
|
574
580
|
if (_this__u8e3s4 instanceof RaiseCancellationException) {
|
|
575
|
-
tmp_0 = _this__u8e3s4.
|
|
581
|
+
tmp_0 = _this__u8e3s4.on() === raise;
|
|
576
582
|
} else {
|
|
577
583
|
tmp_0 = false;
|
|
578
584
|
}
|
|
579
585
|
if (tmp_0) {
|
|
580
|
-
|
|
581
|
-
tmp = (tmp_1 == null ? true : !(tmp_1 == null)) ? tmp_1 : THROW_CCE();
|
|
586
|
+
tmp = _this__u8e3s4.pn();
|
|
582
587
|
} else {
|
|
583
588
|
throw _this__u8e3s4;
|
|
584
589
|
}
|
|
@@ -588,11 +593,11 @@ function Traced(raised, raise, cause) {
|
|
|
588
593
|
cause = cause === VOID ? null : cause;
|
|
589
594
|
RaiseCancellationException.call(this, raised, raise);
|
|
590
595
|
captureStack(this, Traced);
|
|
591
|
-
this.
|
|
596
|
+
this.sn_1 = cause;
|
|
592
597
|
delete this.cause;
|
|
593
598
|
}
|
|
594
599
|
protoOf(Traced).f = function () {
|
|
595
|
-
return this.
|
|
600
|
+
return this.sn_1;
|
|
596
601
|
};
|
|
597
602
|
function RaiseLeakedException() {
|
|
598
603
|
IllegalStateException_init_$Init$("'raise' or 'bind' was leaked outside of its context scope.\nMake sure all calls to 'raise' and 'bind' occur within the lifecycle of nullable { }, either { } or similar builders.\n\nSee Arrow documentation on 'Typed errors' for further information.", this);
|
|
@@ -615,22 +620,22 @@ function Value() {
|
|
|
615
620
|
}
|
|
616
621
|
function Error_0(raise) {
|
|
617
622
|
Value.call(this);
|
|
618
|
-
this.
|
|
623
|
+
this.tn_1 = raise;
|
|
619
624
|
}
|
|
620
|
-
protoOf(Error_0).
|
|
621
|
-
this.
|
|
625
|
+
protoOf(Error_0).o1 = function () {
|
|
626
|
+
this.tn_1();
|
|
622
627
|
return throwKotlinNothingValueException();
|
|
623
628
|
};
|
|
624
629
|
function Ok(value) {
|
|
625
630
|
Value.call(this);
|
|
626
|
-
this.
|
|
631
|
+
this.un_1 = value;
|
|
627
632
|
}
|
|
628
|
-
protoOf(Ok).
|
|
629
|
-
return this.
|
|
633
|
+
protoOf(Ok).o1 = function () {
|
|
634
|
+
return this.un_1;
|
|
630
635
|
};
|
|
631
636
|
function ListAccumulate$raiseSingle$ref(p0) {
|
|
632
637
|
var l = function (_this__u8e3s4) {
|
|
633
|
-
p0.
|
|
638
|
+
p0.yn(_this__u8e3s4);
|
|
634
639
|
};
|
|
635
640
|
l.callableName = 'raiseSingle';
|
|
636
641
|
return l;
|
|
@@ -639,22 +644,22 @@ function RaiseAccumulate$bindAll$lambda($$this$recover) {
|
|
|
639
644
|
return function (it) {
|
|
640
645
|
// Inline function 'arrow.core.nel' call
|
|
641
646
|
var tmp$ret$0 = _NonEmptyList___init__impl__fxd0xp(listOf(it));
|
|
642
|
-
$$this$recover.
|
|
647
|
+
$$this$recover.gn(new NonEmptyList(tmp$ret$0));
|
|
643
648
|
};
|
|
644
649
|
}
|
|
645
650
|
function RaiseAccumulate(accumulate, raise, raiseErrorsWith) {
|
|
646
|
-
this.
|
|
647
|
-
this.
|
|
648
|
-
this.
|
|
651
|
+
this.vm_1 = accumulate;
|
|
652
|
+
this.wm_1 = raise;
|
|
653
|
+
this.xm_1 = raiseErrorsWith;
|
|
649
654
|
}
|
|
650
|
-
protoOf(RaiseAccumulate).
|
|
651
|
-
this.
|
|
655
|
+
protoOf(RaiseAccumulate).gn = function (r) {
|
|
656
|
+
this.xm_1(r);
|
|
652
657
|
return throwKotlinNothingValueException();
|
|
653
658
|
};
|
|
654
|
-
protoOf(RaiseAccumulate).
|
|
659
|
+
protoOf(RaiseAccumulate).ln = function (_this__u8e3s4) {
|
|
655
660
|
// Inline function 'arrow.core.raise.RaiseAccumulate.mapOrAccumulate' call
|
|
656
661
|
// Inline function 'arrow.core.raise.mapOrAccumulate' call
|
|
657
|
-
var tmp0 = this.
|
|
662
|
+
var tmp0 = this.wm_1;
|
|
658
663
|
// Inline function 'arrow.core.raise.mapOrAccumulate' call
|
|
659
664
|
var iterable = _NonEmptyList___get_all__impl__pmf509(_this__u8e3s4);
|
|
660
665
|
// Inline function 'kotlin.collections.buildList' call
|
|
@@ -689,27 +694,27 @@ protoOf(RaiseAccumulate).fn = function (_this__u8e3s4) {
|
|
|
689
694
|
try {
|
|
690
695
|
var tmp_1 = tolerant(this_1, raise);
|
|
691
696
|
var $this$accumulating = new RaiseAccumulate(tmp_1, raise_0, RaiseAccumulate$bindAll$lambda(raise_0));
|
|
692
|
-
var hasErrors = $this$accumulating.
|
|
697
|
+
var hasErrors = $this$accumulating.ym();
|
|
693
698
|
// Inline function 'kotlin.also' call
|
|
694
|
-
var this_2 = $this$accumulating.
|
|
699
|
+
var this_2 = $this$accumulating.kn(element);
|
|
695
700
|
if (!hasErrors) {
|
|
696
701
|
this_0.x(this_2);
|
|
697
702
|
}
|
|
698
703
|
var res = new Ok(Unit_instance);
|
|
699
|
-
raise_0.
|
|
704
|
+
raise_0.cn();
|
|
700
705
|
// Inline function 'arrow.core.identity' call
|
|
701
706
|
tmp_0 = res;
|
|
702
707
|
} catch ($p) {
|
|
703
708
|
var tmp_2;
|
|
704
709
|
if ($p instanceof RaiseCancellationException) {
|
|
705
710
|
var e = $p;
|
|
706
|
-
raise_0.
|
|
707
|
-
var p0 = raisedOrRethrow(e, raise_0).
|
|
708
|
-
tmp_2 = this_1.
|
|
711
|
+
raise_0.cn();
|
|
712
|
+
var p0 = raisedOrRethrow(e, raise_0).dn_1;
|
|
713
|
+
tmp_2 = this_1.en(p0);
|
|
709
714
|
} else {
|
|
710
715
|
if ($p instanceof Error) {
|
|
711
716
|
var e_0 = $p;
|
|
712
|
-
raise_0.
|
|
717
|
+
raise_0.cn();
|
|
713
718
|
throw nonFatalOrThrow(e_0);
|
|
714
719
|
} else {
|
|
715
720
|
throw $p;
|
|
@@ -718,20 +723,20 @@ protoOf(RaiseAccumulate).fn = function (_this__u8e3s4) {
|
|
|
718
723
|
tmp_0 = tmp_2;
|
|
719
724
|
}
|
|
720
725
|
var res_0 = tmp_0;
|
|
721
|
-
raise.
|
|
726
|
+
raise.cn();
|
|
722
727
|
// Inline function 'arrow.core.identity' call
|
|
723
728
|
tmp = res_0;
|
|
724
729
|
} catch ($p) {
|
|
725
730
|
var tmp_3;
|
|
726
731
|
if ($p instanceof RaiseCancellationException) {
|
|
727
732
|
var e_1 = $p;
|
|
728
|
-
raise.
|
|
733
|
+
raise.cn();
|
|
729
734
|
// Inline function 'arrow.core.identity' call
|
|
730
735
|
tmp_3 = raisedOrRethrow(e_1, raise);
|
|
731
736
|
} else {
|
|
732
737
|
if ($p instanceof Error) {
|
|
733
738
|
var e_2 = $p;
|
|
734
|
-
raise.
|
|
739
|
+
raise.cn();
|
|
735
740
|
throw nonFatalOrThrow(e_2);
|
|
736
741
|
} else {
|
|
737
742
|
throw $p;
|
|
@@ -741,66 +746,66 @@ protoOf(RaiseAccumulate).fn = function (_this__u8e3s4) {
|
|
|
741
746
|
}
|
|
742
747
|
}
|
|
743
748
|
var result = Unit_instance;
|
|
744
|
-
if ($this$with.
|
|
745
|
-
var tmp0_safe_receiver = $this$with.
|
|
749
|
+
if ($this$with.ym()) {
|
|
750
|
+
var tmp0_safe_receiver = $this$with.fn();
|
|
746
751
|
if (tmp0_safe_receiver == null)
|
|
747
752
|
null;
|
|
748
753
|
else {
|
|
749
|
-
tmp0_safe_receiver.
|
|
754
|
+
tmp0_safe_receiver.o1();
|
|
750
755
|
throwKotlinNothingValueException();
|
|
751
756
|
}
|
|
752
757
|
}
|
|
753
758
|
// Inline function 'kotlin.let' call
|
|
754
|
-
var p0_0 = this_0.
|
|
759
|
+
var p0_0 = this_0.q5();
|
|
755
760
|
return _NonEmptyList___init__impl__fxd0xp(p0_0);
|
|
756
761
|
};
|
|
757
|
-
protoOf(RaiseAccumulate).
|
|
762
|
+
protoOf(RaiseAccumulate).zm = function (_this__u8e3s4) {
|
|
758
763
|
// Inline function 'kotlin.with' call
|
|
759
|
-
return this.
|
|
764
|
+
return this.wm_1.kn(_this__u8e3s4);
|
|
760
765
|
};
|
|
761
|
-
protoOf(RaiseAccumulate).
|
|
762
|
-
return this.
|
|
766
|
+
protoOf(RaiseAccumulate).en = function (errors) {
|
|
767
|
+
return this.vm_1.en(errors);
|
|
763
768
|
};
|
|
764
|
-
protoOf(RaiseAccumulate).
|
|
765
|
-
return this.
|
|
769
|
+
protoOf(RaiseAccumulate).ym = function () {
|
|
770
|
+
return this.vm_1.ym();
|
|
766
771
|
};
|
|
767
|
-
protoOf(RaiseAccumulate).
|
|
768
|
-
return this.
|
|
772
|
+
protoOf(RaiseAccumulate).fn = function () {
|
|
773
|
+
return this.vm_1.fn();
|
|
769
774
|
};
|
|
770
775
|
function Accumulate() {
|
|
771
776
|
}
|
|
772
777
|
function ListAccumulate$error$lambda(this$0) {
|
|
773
778
|
return function () {
|
|
774
|
-
this$0.
|
|
779
|
+
this$0.vn_1.gn(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(this$0.wn_1)));
|
|
775
780
|
};
|
|
776
781
|
}
|
|
777
782
|
function ListAccumulate(raise) {
|
|
778
|
-
this.
|
|
783
|
+
this.vn_1 = raise;
|
|
779
784
|
var tmp = this;
|
|
780
785
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
781
|
-
tmp.
|
|
786
|
+
tmp.wn_1 = ArrayList_init_$Create$_0();
|
|
782
787
|
var tmp_0 = this;
|
|
783
|
-
tmp_0.
|
|
788
|
+
tmp_0.xn_1 = new Error_0(ListAccumulate$error$lambda(this));
|
|
784
789
|
}
|
|
785
|
-
protoOf(ListAccumulate).
|
|
786
|
-
this.
|
|
790
|
+
protoOf(ListAccumulate).yn = function (r) {
|
|
791
|
+
this.vn_1.gn(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(plus_0(this.wn_1, r))));
|
|
787
792
|
};
|
|
788
|
-
protoOf(ListAccumulate).
|
|
789
|
-
this.
|
|
793
|
+
protoOf(ListAccumulate).zn = function (r) {
|
|
794
|
+
this.vn_1.gn(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(plus(this.wn_1, _NonEmptyList___get_all__impl__pmf509(r)))));
|
|
790
795
|
};
|
|
791
|
-
protoOf(ListAccumulate).
|
|
792
|
-
return this.
|
|
796
|
+
protoOf(ListAccumulate).gn = function (r) {
|
|
797
|
+
return this.zn(r instanceof NonEmptyList ? r.dn_1 : THROW_CCE());
|
|
793
798
|
};
|
|
794
|
-
protoOf(ListAccumulate).
|
|
795
|
-
this.
|
|
796
|
-
return this.
|
|
799
|
+
protoOf(ListAccumulate).en = function (errors) {
|
|
800
|
+
this.wn_1.g1(new NonEmptyList(errors));
|
|
801
|
+
return this.xn_1;
|
|
797
802
|
};
|
|
798
|
-
protoOf(ListAccumulate).
|
|
803
|
+
protoOf(ListAccumulate).fn = function () {
|
|
799
804
|
// Inline function 'kotlin.takeIf' call
|
|
800
|
-
var this_0 = this.
|
|
805
|
+
var this_0 = this.xn_1;
|
|
801
806
|
var tmp;
|
|
802
807
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
803
|
-
if (!this.
|
|
808
|
+
if (!this.wn_1.r()) {
|
|
804
809
|
tmp = this_0;
|
|
805
810
|
} else {
|
|
806
811
|
tmp = null;
|
|
@@ -812,24 +817,24 @@ function tolerant(_this__u8e3s4, raise) {
|
|
|
812
817
|
}
|
|
813
818
|
function TolerantAccumulate$accumulateAll$lambda(this$0, $error) {
|
|
814
819
|
return function () {
|
|
815
|
-
this$0.
|
|
820
|
+
this$0.bo_1.gn($error);
|
|
816
821
|
};
|
|
817
822
|
}
|
|
818
823
|
function TolerantAccumulate$_get_latestError_$lambda_m5qmvg(this$0, $error) {
|
|
819
824
|
return function () {
|
|
820
|
-
this$0.
|
|
825
|
+
this$0.bo_1.gn($error);
|
|
821
826
|
};
|
|
822
827
|
}
|
|
823
828
|
function TolerantAccumulate(underlying, raise) {
|
|
824
|
-
this.
|
|
825
|
-
this.
|
|
829
|
+
this.ao_1 = underlying;
|
|
830
|
+
this.bo_1 = raise;
|
|
826
831
|
}
|
|
827
|
-
protoOf(TolerantAccumulate).
|
|
828
|
-
var error = this.
|
|
832
|
+
protoOf(TolerantAccumulate).en = function (errors) {
|
|
833
|
+
var error = this.ao_1.en(errors);
|
|
829
834
|
return new Error_0(TolerantAccumulate$accumulateAll$lambda(this, error));
|
|
830
835
|
};
|
|
831
|
-
protoOf(TolerantAccumulate).
|
|
832
|
-
var tmp0_elvis_lhs = this.
|
|
836
|
+
protoOf(TolerantAccumulate).fn = function () {
|
|
837
|
+
var tmp0_elvis_lhs = this.ao_1.fn();
|
|
833
838
|
var tmp;
|
|
834
839
|
if (tmp0_elvis_lhs == null) {
|
|
835
840
|
return null;
|
|
@@ -859,32 +864,32 @@ function NoTrace(raised, raise) {
|
|
|
859
864
|
function RaiseCancellationException(raised, raise) {
|
|
860
865
|
CancellationException_init_$Init$("kotlin.coroutines.cancellation.CancellationException should never get swallowed. Always re-throw it if captured.This swallows the exception of Arrow's Raise, and leads to unexpected behavior.When working with Arrow prefer Either.catch or arrow.core.raise.catch to automatically rethrow CancellationException.", this);
|
|
861
866
|
captureStack(this, RaiseCancellationException);
|
|
862
|
-
this.
|
|
863
|
-
this.
|
|
867
|
+
this.mn_1 = raised;
|
|
868
|
+
this.nn_1 = raise;
|
|
864
869
|
}
|
|
865
|
-
protoOf(RaiseCancellationException).
|
|
870
|
+
protoOf(RaiseCancellationException).pn = function () {
|
|
866
871
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
867
872
|
// Inline function 'kotlin.js.asDynamic' call
|
|
868
873
|
var tmp1_elvis_lhs = this == null ? null : this.raised;
|
|
869
|
-
return tmp1_elvis_lhs == null ? this.
|
|
874
|
+
return tmp1_elvis_lhs == null ? this.mn_1 : tmp1_elvis_lhs;
|
|
870
875
|
};
|
|
871
|
-
protoOf(RaiseCancellationException).
|
|
876
|
+
protoOf(RaiseCancellationException).on = function () {
|
|
872
877
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
873
878
|
// Inline function 'kotlin.js.asDynamic' call
|
|
874
879
|
var tmp1_elvis_lhs = this == null ? null : this.raise;
|
|
875
|
-
return tmp1_elvis_lhs == null ? this.
|
|
880
|
+
return tmp1_elvis_lhs == null ? this.nn_1 : tmp1_elvis_lhs;
|
|
876
881
|
};
|
|
877
882
|
//region block: post-declaration
|
|
878
|
-
protoOf(DefaultRaise).
|
|
879
|
-
protoOf(DefaultRaise).
|
|
883
|
+
protoOf(DefaultRaise).kn = bind;
|
|
884
|
+
protoOf(DefaultRaise).ln = bindAll;
|
|
880
885
|
defineProp(protoOf(Traced), 'cause', function () {
|
|
881
886
|
return this.f();
|
|
882
887
|
});
|
|
883
|
-
protoOf(RaiseAccumulate).
|
|
884
|
-
protoOf(ListAccumulate).
|
|
885
|
-
protoOf(ListAccumulate).
|
|
886
|
-
protoOf(ListAccumulate).
|
|
887
|
-
protoOf(TolerantAccumulate).
|
|
888
|
+
protoOf(RaiseAccumulate).kn = bind;
|
|
889
|
+
protoOf(ListAccumulate).ym = get_hasAccumulatedErrors;
|
|
890
|
+
protoOf(ListAccumulate).kn = bind;
|
|
891
|
+
protoOf(ListAccumulate).ln = bindAll;
|
|
892
|
+
protoOf(TolerantAccumulate).ym = get_hasAccumulatedErrors;
|
|
888
893
|
//endregion
|
|
889
894
|
//region block: init
|
|
890
895
|
Companion_instance = new Companion();
|
|
@@ -912,23 +917,23 @@ export {
|
|
|
912
917
|
right as right2w60qw9uivnyr,
|
|
913
918
|
toNonEmptyListOrNull as toNonEmptyListOrNull2ovnnazjb3msz,
|
|
914
919
|
toNonEmptySetOrNull as toNonEmptySetOrNull1tjnd9jrkd4bs,
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
920
|
+
Companion_instance_1 as Companion_instancexcyhq1gimo3o,
|
|
921
|
+
Companion_getInstance_0 as Companion_getInstance220j0pzrtxcwu,
|
|
922
|
+
RaiseAccumulate_init_$Create$ as RaiseAccumulate_init_$Create$29fl6s5jk5c1s,
|
|
923
|
+
_NonEmptyList___init__impl__fxd0xp as _NonEmptyList___init__impl__fxd0xprpnd63likgzm,
|
|
924
|
+
_NonEmptyList___init__impl__fxd0xp_0 as _NonEmptyList___init__impl__fxd0xp3480tzui81fjk,
|
|
925
|
+
_NonEmptyList___get_all__impl__pmf509 as _NonEmptyList___get_all__impl__pmf5092xnz0i2teaa6d,
|
|
926
|
+
NonEmptyList__hashCode_impl_38rpg4 as NonEmptyList__hashCode_impl_38rpg4davnzlo2e821,
|
|
927
|
+
_NonEmptyList___get_head__impl__q9oenq as _NonEmptyList___get_head__impl__q9oenqdqq5xzf7ev77,
|
|
928
|
+
NonEmptyList__plus_impl_xqmb9 as NonEmptyList__plus_impl_xqmb918nwrkd75m2j6,
|
|
929
|
+
NonEmptyList__plus_impl_xqmb9_0 as NonEmptyList__plus_impl_xqmb9ex47xkkmsdbi,
|
|
930
|
+
_NonEmptyList___get_tail__impl__t91bd2 as _NonEmptyList___get_tail__impl__t91bd22g0rv1h0xpxn5,
|
|
931
|
+
NonEmptyList__toList_impl_t5xcy2 as NonEmptyList__toList_impl_t5xcy266xhxpenbpfx,
|
|
932
|
+
NonEmptyList__toString_impl_ozxm8z as NonEmptyList__toString_impl_ozxm8zinukvk8uiefu,
|
|
933
|
+
NonEmptySet__flatMap_impl_ovm5jg as NonEmptySet__flatMap_impl_ovm5jg3sic4v1sa4qlf,
|
|
934
|
+
NonEmptySet__hashCode_impl_co6mds as NonEmptySet__hashCode_impl_co6mdsl81ll59f92cp,
|
|
935
|
+
NonEmptySet__map_impl_ngjswd as NonEmptySet__map_impl_ngjswd1fxcincnj6e60,
|
|
936
|
+
NonEmptySet__toString_impl_yfcj6n as NonEmptySet__toString_impl_yfcj6ns81v4qijlr42,
|
|
932
937
|
};
|
|
933
938
|
//endregion
|
|
934
939
|
|