@flock/wirespec 0.9.3 → 0.9.4
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.js +15 -15
- package/arrow-arrow-continuations.js +3 -3
- package/arrow-arrow-core.js +87 -87
- package/clikt-clikt.js +1360 -1360
- package/colormath-root-colormath.js +403 -403
- package/kotlin-kotlin-stdlib.js +1618 -1479
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-openapi-bindings.js +9251 -6889
- package/kotlin-openapi-bindings.js.map +1 -1
- package/kotlin-rgxgen.js +1867 -1867
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +2293 -1468
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1882 -1207
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/markdown.js +1984 -1984
- package/mordant-mordant.js +1771 -1771
- package/package.json +1 -1
- package/wirespec-src-compiler-core.js +2107 -1935
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.js +714 -402
- package/wirespec-src-compiler-lib.js.map +1 -1
- package/wirespec-src-converter-openapi.js +1970 -745
- package/wirespec-src-converter-openapi.js.map +1 -1
- package/wirespec-src-generator.js +59 -59
- package/wirespec-src-generator.js.map +1 -1
- package/wirespec-src-plugin-arguments.js +101 -101
- package/wirespec-src-plugin-cli.js +187 -187
- package/wirespec-src-plugin-cli.js.map +1 -1
- package/wirespec-src-plugin-npm.d.ts +42 -4
- package/wirespec-src-plugin-npm.js +227 -17
- package/wirespec-src-plugin-npm.js.map +1 -1
package/arrow-arrow-atomic.js
CHANGED
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
}(this, function (_, kotlin_kotlin) {
|
|
13
13
|
'use strict';
|
|
14
14
|
//region block: imports
|
|
15
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
16
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
17
|
-
var VOID = kotlin_kotlin.$_$.
|
|
18
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
15
|
+
var protoOf = kotlin_kotlin.$_$.oa;
|
|
16
|
+
var classMeta = kotlin_kotlin.$_$.j9;
|
|
17
|
+
var VOID = kotlin_kotlin.$_$.vf;
|
|
18
|
+
var setMetadataFor = kotlin_kotlin.$_$.pa;
|
|
19
19
|
//endregion
|
|
20
20
|
//region block: pre-declaration
|
|
21
21
|
setMetadataFor(AtomicBoolean, 'AtomicBoolean', classMeta);
|
|
@@ -25,26 +25,26 @@
|
|
|
25
25
|
return _this__u8e3s4 ? 1 : 0;
|
|
26
26
|
}
|
|
27
27
|
function AtomicBoolean(value) {
|
|
28
|
-
this.
|
|
28
|
+
this.o1y_1 = new AtomicInt(toInt(value, this));
|
|
29
29
|
}
|
|
30
30
|
protoOf(AtomicBoolean).p2 = function () {
|
|
31
|
-
return !(get_value(this.
|
|
31
|
+
return !(get_value(this.o1y_1) === 0);
|
|
32
32
|
};
|
|
33
|
-
protoOf(AtomicBoolean).
|
|
34
|
-
return this.
|
|
33
|
+
protoOf(AtomicBoolean).p1y = function (value) {
|
|
34
|
+
return this.o1y_1.r1y(toInt(value, this)) === 1;
|
|
35
35
|
};
|
|
36
36
|
function get_value(_this__u8e3s4) {
|
|
37
|
-
return _this__u8e3s4.
|
|
37
|
+
return _this__u8e3s4.s1y();
|
|
38
38
|
}
|
|
39
39
|
function AtomicInt(initialValue) {
|
|
40
|
-
this.
|
|
40
|
+
this.q1y_1 = initialValue;
|
|
41
41
|
}
|
|
42
|
-
protoOf(AtomicInt).
|
|
43
|
-
return this.
|
|
42
|
+
protoOf(AtomicInt).s1y = function () {
|
|
43
|
+
return this.q1y_1;
|
|
44
44
|
};
|
|
45
|
-
protoOf(AtomicInt).
|
|
46
|
-
var current = this.
|
|
47
|
-
this.
|
|
45
|
+
protoOf(AtomicInt).r1y = function (value) {
|
|
46
|
+
var current = this.q1y_1;
|
|
47
|
+
this.q1y_1 = value;
|
|
48
48
|
return current;
|
|
49
49
|
};
|
|
50
50
|
//region block: exports
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
}(this, function (_, kotlin_kotlin) {
|
|
13
13
|
'use strict';
|
|
14
14
|
//region block: imports
|
|
15
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
16
|
-
var VOID = kotlin_kotlin.$_$.
|
|
17
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
15
|
+
var classMeta = kotlin_kotlin.$_$.j9;
|
|
16
|
+
var VOID = kotlin_kotlin.$_$.vf;
|
|
17
|
+
var setMetadataFor = kotlin_kotlin.$_$.pa;
|
|
18
18
|
//endregion
|
|
19
19
|
//region block: pre-declaration
|
|
20
20
|
setMetadataFor(ControlThrowable, 'ControlThrowable', classMeta, Error);
|
package/arrow-arrow-core.js
CHANGED
|
@@ -18,35 +18,35 @@
|
|
|
18
18
|
}(this, function (_, kotlin_kotlin, kotlin_io_arrow_kt_arrow_atomic, kotlin_io_arrow_kt_arrow_continuations) {
|
|
19
19
|
'use strict';
|
|
20
20
|
//region block: imports
|
|
21
|
-
var Unit_getInstance = kotlin_kotlin.$_$.
|
|
22
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
23
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
24
|
-
var VOID = kotlin_kotlin.$_$.
|
|
25
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
26
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
27
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
28
|
-
var equals = kotlin_kotlin.$_$.
|
|
29
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
30
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
31
|
-
var drop = kotlin_kotlin.$_$.
|
|
32
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
33
|
-
var AbstractList = kotlin_kotlin.$_$.
|
|
21
|
+
var Unit_getInstance = kotlin_kotlin.$_$.g4;
|
|
22
|
+
var protoOf = kotlin_kotlin.$_$.oa;
|
|
23
|
+
var objectMeta = kotlin_kotlin.$_$.na;
|
|
24
|
+
var VOID = kotlin_kotlin.$_$.vf;
|
|
25
|
+
var setMetadataFor = kotlin_kotlin.$_$.pa;
|
|
26
|
+
var hashCode = kotlin_kotlin.$_$.r9;
|
|
27
|
+
var THROW_CCE = kotlin_kotlin.$_$.we;
|
|
28
|
+
var equals = kotlin_kotlin.$_$.m9;
|
|
29
|
+
var classMeta = kotlin_kotlin.$_$.j9;
|
|
30
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.rf;
|
|
31
|
+
var drop = kotlin_kotlin.$_$.w5;
|
|
32
|
+
var objectCreate = kotlin_kotlin.$_$.ma;
|
|
33
|
+
var AbstractList = kotlin_kotlin.$_$.h4;
|
|
34
34
|
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
35
|
-
var listOf = kotlin_kotlin.$_$.
|
|
36
|
-
var plus = kotlin_kotlin.$_$.
|
|
37
|
-
var plus_0 = kotlin_kotlin.$_$.
|
|
38
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
39
|
-
var Collection = kotlin_kotlin.$_$.
|
|
40
|
-
var firstOrNull = kotlin_kotlin.$_$.
|
|
41
|
-
var asList = kotlin_kotlin.$_$.
|
|
35
|
+
var listOf = kotlin_kotlin.$_$.c7;
|
|
36
|
+
var plus = kotlin_kotlin.$_$.n7;
|
|
37
|
+
var plus_0 = kotlin_kotlin.$_$.o7;
|
|
38
|
+
var joinToString = kotlin_kotlin.$_$.p6;
|
|
39
|
+
var Collection = kotlin_kotlin.$_$.k4;
|
|
40
|
+
var firstOrNull = kotlin_kotlin.$_$.d6;
|
|
41
|
+
var asList = kotlin_kotlin.$_$.z4;
|
|
42
42
|
var AtomicBoolean = kotlin_io_arrow_kt_arrow_atomic.$_$.a;
|
|
43
|
-
var isObject = kotlin_kotlin.$_$.
|
|
44
|
-
var CancellationException = kotlin_kotlin.$_$.
|
|
43
|
+
var isObject = kotlin_kotlin.$_$.da;
|
|
44
|
+
var CancellationException = kotlin_kotlin.$_$.t8;
|
|
45
45
|
var CancellationException_init_$Init$ = kotlin_kotlin.$_$.x;
|
|
46
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
47
|
-
var IllegalStateException = kotlin_kotlin.$_$.
|
|
46
|
+
var captureStack = kotlin_kotlin.$_$.d9;
|
|
47
|
+
var IllegalStateException = kotlin_kotlin.$_$.pe;
|
|
48
48
|
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.k1;
|
|
49
|
-
var interfaceMeta = kotlin_kotlin.$_$.
|
|
49
|
+
var interfaceMeta = kotlin_kotlin.$_$.s9;
|
|
50
50
|
var ControlThrowable = kotlin_io_arrow_kt_arrow_continuations.$_$.a;
|
|
51
51
|
var CancellationException_init_$Init$_0 = kotlin_kotlin.$_$.y;
|
|
52
52
|
//endregion
|
|
@@ -63,10 +63,10 @@
|
|
|
63
63
|
var tmp0_subject = _this__u8e3s4;
|
|
64
64
|
var tmp;
|
|
65
65
|
if (tmp0_subject instanceof Left) {
|
|
66
|
-
this.
|
|
66
|
+
this.p1z(_this__u8e3s4.v1y_1);
|
|
67
67
|
} else {
|
|
68
68
|
if (tmp0_subject instanceof Right) {
|
|
69
|
-
tmp = _this__u8e3s4.
|
|
69
|
+
tmp = _this__u8e3s4.b1z_1;
|
|
70
70
|
} else {
|
|
71
71
|
noWhenBranchMatchedException();
|
|
72
72
|
}
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
//endregion
|
|
83
83
|
function Companion() {
|
|
84
84
|
Companion_instance = this;
|
|
85
|
-
this.
|
|
85
|
+
this.t1y_1 = new Left(Unit_getInstance());
|
|
86
86
|
}
|
|
87
87
|
var Companion_instance;
|
|
88
88
|
function Companion_getInstance() {
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
}
|
|
93
93
|
function Companion_0() {
|
|
94
94
|
Companion_instance_0 = this;
|
|
95
|
-
this.
|
|
95
|
+
this.u1y_1 = new Right(Unit_getInstance());
|
|
96
96
|
}
|
|
97
97
|
var Companion_instance_0;
|
|
98
98
|
function Companion_getInstance_0() {
|
|
@@ -103,21 +103,21 @@
|
|
|
103
103
|
function Left(value) {
|
|
104
104
|
Companion_getInstance();
|
|
105
105
|
Either.call(this);
|
|
106
|
-
this.
|
|
107
|
-
this.
|
|
108
|
-
this.
|
|
106
|
+
this.v1y_1 = value;
|
|
107
|
+
this.w1y_1 = true;
|
|
108
|
+
this.x1y_1 = false;
|
|
109
109
|
}
|
|
110
|
-
protoOf(Left).
|
|
111
|
-
return this.
|
|
110
|
+
protoOf(Left).y1y = function () {
|
|
111
|
+
return this.w1y_1;
|
|
112
112
|
};
|
|
113
|
-
protoOf(Left).
|
|
114
|
-
return this.
|
|
113
|
+
protoOf(Left).z1y = function () {
|
|
114
|
+
return this.x1y_1;
|
|
115
115
|
};
|
|
116
116
|
protoOf(Left).toString = function () {
|
|
117
|
-
return 'Either.Left(' + this.
|
|
117
|
+
return 'Either.Left(' + this.v1y_1 + ')';
|
|
118
118
|
};
|
|
119
119
|
protoOf(Left).hashCode = function () {
|
|
120
|
-
return this.
|
|
120
|
+
return this.v1y_1 == null ? 0 : hashCode(this.v1y_1);
|
|
121
121
|
};
|
|
122
122
|
protoOf(Left).equals = function (other) {
|
|
123
123
|
if (this === other)
|
|
@@ -125,28 +125,28 @@
|
|
|
125
125
|
if (!(other instanceof Left))
|
|
126
126
|
return false;
|
|
127
127
|
var tmp0_other_with_cast = other instanceof Left ? other : THROW_CCE();
|
|
128
|
-
if (!equals(this.
|
|
128
|
+
if (!equals(this.v1y_1, tmp0_other_with_cast.v1y_1))
|
|
129
129
|
return false;
|
|
130
130
|
return true;
|
|
131
131
|
};
|
|
132
132
|
function Right(value) {
|
|
133
133
|
Companion_getInstance_0();
|
|
134
134
|
Either.call(this);
|
|
135
|
-
this.
|
|
136
|
-
this.
|
|
137
|
-
this.
|
|
135
|
+
this.b1z_1 = value;
|
|
136
|
+
this.c1z_1 = false;
|
|
137
|
+
this.d1z_1 = true;
|
|
138
138
|
}
|
|
139
|
-
protoOf(Right).
|
|
140
|
-
return this.
|
|
139
|
+
protoOf(Right).y1y = function () {
|
|
140
|
+
return this.c1z_1;
|
|
141
141
|
};
|
|
142
|
-
protoOf(Right).
|
|
143
|
-
return this.
|
|
142
|
+
protoOf(Right).z1y = function () {
|
|
143
|
+
return this.d1z_1;
|
|
144
144
|
};
|
|
145
145
|
protoOf(Right).toString = function () {
|
|
146
|
-
return 'Either.Right(' + this.
|
|
146
|
+
return 'Either.Right(' + this.b1z_1 + ')';
|
|
147
147
|
};
|
|
148
148
|
protoOf(Right).hashCode = function () {
|
|
149
|
-
return this.
|
|
149
|
+
return this.b1z_1 == null ? 0 : hashCode(this.b1z_1);
|
|
150
150
|
};
|
|
151
151
|
protoOf(Right).equals = function (other) {
|
|
152
152
|
if (this === other)
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
if (!(other instanceof Right))
|
|
155
155
|
return false;
|
|
156
156
|
var tmp0_other_with_cast = other instanceof Right ? other : THROW_CCE();
|
|
157
|
-
if (!equals(this.
|
|
157
|
+
if (!equals(this.b1z_1, tmp0_other_with_cast.b1z_1))
|
|
158
158
|
return false;
|
|
159
159
|
return true;
|
|
160
160
|
};
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
function Either() {
|
|
171
171
|
Companion_getInstance_1();
|
|
172
172
|
}
|
|
173
|
-
protoOf(Either).
|
|
173
|
+
protoOf(Either).a1z = function () {
|
|
174
174
|
// Inline function 'kotlin.contracts.contract' call
|
|
175
175
|
// Inline function 'arrow.core.getOrElse' call
|
|
176
176
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -179,11 +179,11 @@
|
|
|
179
179
|
var tmp;
|
|
180
180
|
if (this instanceof Right) {
|
|
181
181
|
// Inline function 'arrow.core.identity' call
|
|
182
|
-
tmp = this.
|
|
182
|
+
tmp = this.b1z_1;
|
|
183
183
|
} else {
|
|
184
184
|
if (this instanceof Left) {
|
|
185
185
|
// Inline function 'arrow.core.Either.getOrNull.<anonymous>' call
|
|
186
|
-
this.
|
|
186
|
+
this.v1y_1;
|
|
187
187
|
tmp = null;
|
|
188
188
|
} else {
|
|
189
189
|
noWhenBranchMatchedException();
|
|
@@ -197,11 +197,11 @@
|
|
|
197
197
|
var tmp;
|
|
198
198
|
if (this instanceof Right) {
|
|
199
199
|
// Inline function 'arrow.core.Either.toString.<anonymous>' call
|
|
200
|
-
tmp = 'Either.Right(' + this.
|
|
200
|
+
tmp = 'Either.Right(' + this.b1z_1 + ')';
|
|
201
201
|
} else {
|
|
202
202
|
if (this instanceof Left) {
|
|
203
203
|
// Inline function 'arrow.core.Either.toString.<anonymous>' call
|
|
204
|
-
tmp = 'Either.Left(' + this.
|
|
204
|
+
tmp = 'Either.Left(' + this.v1y_1 + ')';
|
|
205
205
|
} else {
|
|
206
206
|
noWhenBranchMatchedException();
|
|
207
207
|
}
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
}
|
|
218
218
|
function Companion_2() {
|
|
219
219
|
Companion_instance_2 = this;
|
|
220
|
-
this.
|
|
220
|
+
this.e1z_1 = nonEmptyListOf(Unit_getInstance(), []);
|
|
221
221
|
}
|
|
222
222
|
var Companion_instance_2;
|
|
223
223
|
function Companion_getInstance_2() {
|
|
@@ -228,29 +228,29 @@
|
|
|
228
228
|
function NonEmptyList(head, tail) {
|
|
229
229
|
Companion_getInstance_2();
|
|
230
230
|
AbstractList.call(this);
|
|
231
|
-
this.
|
|
232
|
-
this.
|
|
233
|
-
this.
|
|
231
|
+
this.f1z_1 = head;
|
|
232
|
+
this.g1z_1 = tail;
|
|
233
|
+
this.h1z_1 = 1 + this.g1z_1.n() | 0;
|
|
234
234
|
}
|
|
235
235
|
protoOf(NonEmptyList).n = function () {
|
|
236
|
-
return this.
|
|
236
|
+
return this.h1z_1;
|
|
237
237
|
};
|
|
238
|
-
protoOf(NonEmptyList).
|
|
239
|
-
return this.
|
|
238
|
+
protoOf(NonEmptyList).i1z = function () {
|
|
239
|
+
return this.j1z();
|
|
240
240
|
};
|
|
241
241
|
protoOf(NonEmptyList).g1 = function (index) {
|
|
242
|
-
if (index < 0 ? true : index >= this.
|
|
243
|
-
throw IndexOutOfBoundsException_init_$Create$('' + index + ' is not in 1..' + (this.
|
|
244
|
-
return index === 0 ? this.
|
|
242
|
+
if (index < 0 ? true : index >= this.h1z_1)
|
|
243
|
+
throw IndexOutOfBoundsException_init_$Create$('' + index + ' is not in 1..' + (this.h1z_1 - 1 | 0));
|
|
244
|
+
return index === 0 ? this.f1z_1 : this.g1z_1.g1(index - 1 | 0);
|
|
245
245
|
};
|
|
246
246
|
protoOf(NonEmptyList).c1 = function () {
|
|
247
247
|
return false;
|
|
248
248
|
};
|
|
249
|
-
protoOf(NonEmptyList).
|
|
250
|
-
return plus(listOf(this.
|
|
249
|
+
protoOf(NonEmptyList).j1z = function () {
|
|
250
|
+
return plus(listOf(this.f1z_1), this.g1z_1);
|
|
251
251
|
};
|
|
252
|
-
protoOf(NonEmptyList).
|
|
253
|
-
return NonEmptyList_init_$Create$(plus_0(this.
|
|
252
|
+
protoOf(NonEmptyList).k1z = function (element) {
|
|
253
|
+
return NonEmptyList_init_$Create$(plus_0(this.i1z(), element));
|
|
254
254
|
};
|
|
255
255
|
protoOf(NonEmptyList).equals = function (other) {
|
|
256
256
|
return protoOf(AbstractList).equals.call(this, other);
|
|
@@ -259,7 +259,7 @@
|
|
|
259
259
|
return protoOf(AbstractList).hashCode.call(this);
|
|
260
260
|
};
|
|
261
261
|
protoOf(NonEmptyList).toString = function () {
|
|
262
|
-
return 'NonEmptyList(' + joinToString(this.
|
|
262
|
+
return 'NonEmptyList(' + joinToString(this.i1z()) + ')';
|
|
263
263
|
};
|
|
264
264
|
function toNonEmptyListOrNull(_this__u8e3s4) {
|
|
265
265
|
var tmp0_safe_receiver = firstOrNull(_this__u8e3s4);
|
|
@@ -287,43 +287,43 @@
|
|
|
287
287
|
return tmp;
|
|
288
288
|
}
|
|
289
289
|
function DefaultRaise(isTraced) {
|
|
290
|
-
this.
|
|
291
|
-
this.
|
|
290
|
+
this.l1z_1 = isTraced;
|
|
291
|
+
this.m1z_1 = new AtomicBoolean(true);
|
|
292
292
|
}
|
|
293
|
-
protoOf(DefaultRaise).
|
|
294
|
-
return this.
|
|
293
|
+
protoOf(DefaultRaise).n1z = function () {
|
|
294
|
+
return this.m1z_1.p1y(false);
|
|
295
295
|
};
|
|
296
|
-
protoOf(DefaultRaise).
|
|
296
|
+
protoOf(DefaultRaise).o1z = function (r) {
|
|
297
297
|
var tmp;
|
|
298
|
-
if (this.
|
|
299
|
-
throw this.
|
|
298
|
+
if (this.m1z_1.p2()) {
|
|
299
|
+
throw this.l1z_1 ? new RaiseCancellationException(r, this) : new RaiseCancellationExceptionNoTrace(r, this);
|
|
300
300
|
} else {
|
|
301
301
|
throw new RaiseLeakedException();
|
|
302
302
|
}
|
|
303
303
|
};
|
|
304
|
-
protoOf(DefaultRaise).
|
|
305
|
-
return this.
|
|
304
|
+
protoOf(DefaultRaise).p1z = function (r) {
|
|
305
|
+
return this.o1z((r == null ? true : isObject(r)) ? r : THROW_CCE());
|
|
306
306
|
};
|
|
307
307
|
function raisedOrRethrow(_this__u8e3s4, raise) {
|
|
308
308
|
var tmp;
|
|
309
309
|
var tmp_0;
|
|
310
310
|
if (_this__u8e3s4 instanceof RaiseCancellationExceptionNoTrace) {
|
|
311
|
-
tmp_0 = _this__u8e3s4.
|
|
311
|
+
tmp_0 = _this__u8e3s4.s1z_1 === raise;
|
|
312
312
|
} else {
|
|
313
313
|
tmp_0 = false;
|
|
314
314
|
}
|
|
315
315
|
if (tmp_0) {
|
|
316
|
-
var tmp_1 = _this__u8e3s4.
|
|
316
|
+
var tmp_1 = _this__u8e3s4.r1z_1;
|
|
317
317
|
tmp = (tmp_1 == null ? true : isObject(tmp_1)) ? tmp_1 : THROW_CCE();
|
|
318
318
|
} else {
|
|
319
319
|
var tmp_2;
|
|
320
320
|
if (_this__u8e3s4 instanceof RaiseCancellationException) {
|
|
321
|
-
tmp_2 = _this__u8e3s4.
|
|
321
|
+
tmp_2 = _this__u8e3s4.u1z_1 === raise;
|
|
322
322
|
} else {
|
|
323
323
|
tmp_2 = false;
|
|
324
324
|
}
|
|
325
325
|
if (tmp_2) {
|
|
326
|
-
var tmp_3 = _this__u8e3s4.
|
|
326
|
+
var tmp_3 = _this__u8e3s4.t1z_1;
|
|
327
327
|
tmp = (tmp_3 == null ? true : isObject(tmp_3)) ? tmp_3 : THROW_CCE();
|
|
328
328
|
} else {
|
|
329
329
|
throw _this__u8e3s4;
|
|
@@ -334,14 +334,14 @@
|
|
|
334
334
|
function RaiseCancellationException(raised, raise) {
|
|
335
335
|
CancellationException_init_$Init$(this);
|
|
336
336
|
captureStack(this, RaiseCancellationException);
|
|
337
|
-
this.
|
|
338
|
-
this.
|
|
337
|
+
this.t1z_1 = raised;
|
|
338
|
+
this.u1z_1 = raise;
|
|
339
339
|
}
|
|
340
340
|
function RaiseCancellationExceptionNoTrace(raised, raise) {
|
|
341
341
|
CancellationExceptionNoTrace.call(this);
|
|
342
342
|
captureStack(this, RaiseCancellationExceptionNoTrace);
|
|
343
|
-
this.
|
|
344
|
-
this.
|
|
343
|
+
this.r1z_1 = raised;
|
|
344
|
+
this.s1z_1 = raise;
|
|
345
345
|
}
|
|
346
346
|
function RaiseLeakedException() {
|
|
347
347
|
IllegalStateException_init_$Init$('raise or bind was called outside of its DSL scope, and the DSL Scoped operator was leaked\nThis is kind of usage is incorrect, make sure all calls to raise or bind occur within the lifecycle of effect { }, either { } or similar builders.\n\nSee: Effect documentation for additional information.', this);
|
|
@@ -373,7 +373,7 @@
|
|
|
373
373
|
captureStack(this, CancellationExceptionNoTrace);
|
|
374
374
|
}
|
|
375
375
|
//region block: post-declaration
|
|
376
|
-
protoOf(DefaultRaise).
|
|
376
|
+
protoOf(DefaultRaise).q1z = bind;
|
|
377
377
|
//endregion
|
|
378
378
|
//region block: init
|
|
379
379
|
RaiseCancellationExceptionCaptured = "kotlin.coroutines.cancellation.CancellationException should never get cancelled. 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.";
|