@flock/wirespec 0.19.3 → 0.19.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/kotlin-kotlin-stdlib.mjs +9 -9
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +56 -56
- package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-kotlin.mjs +63 -63
- package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-python.mjs +72 -72
- package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-typescript.mjs +48 -48
- package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-wirespec.mjs +10 -10
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -37,6 +37,11 @@ if (typeof Array.prototype.fill === 'undefined') {
|
|
|
37
37
|
Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
|
+
if (typeof Math.log2 === 'undefined') {
|
|
41
|
+
Math.log2 = function (x) {
|
|
42
|
+
return Math.log(x) * Math.LOG2E;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
40
45
|
if (typeof Math.clz32 === 'undefined') {
|
|
41
46
|
Math.clz32 = function (log, LN2) {
|
|
42
47
|
return function (x) {
|
|
@@ -48,11 +53,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
48
53
|
};
|
|
49
54
|
}(Math.log, Math.LN2);
|
|
50
55
|
}
|
|
51
|
-
if (typeof Math.log2 === 'undefined') {
|
|
52
|
-
Math.log2 = function (x) {
|
|
53
|
-
return Math.log(x) * Math.LOG2E;
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
56
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
57
57
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
58
58
|
var subjectString = this.toString();
|
|
@@ -102,8 +102,8 @@ initMetadataForInterface(KtMap, 'Map');
|
|
|
102
102
|
initMetadataForInterface(KtSet, 'Set', VOID, VOID, [Collection]);
|
|
103
103
|
initMetadataForInterface(KtMutableMap, 'MutableMap', VOID, VOID, [KtMap]);
|
|
104
104
|
initMetadataForInterface(MutableIterable, 'MutableIterable');
|
|
105
|
-
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList,
|
|
106
|
-
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet,
|
|
105
|
+
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
|
|
106
|
+
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
|
|
107
107
|
initMetadataForCompanion(Companion_0);
|
|
108
108
|
initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
|
|
109
109
|
initMetadataForCompanion(Companion_1);
|
|
@@ -123,7 +123,7 @@ initMetadataForObject(OtherLowercase, 'OtherLowercase');
|
|
|
123
123
|
initMetadataForInterface(Comparator, 'Comparator');
|
|
124
124
|
initMetadataForObject(Unit, 'Unit');
|
|
125
125
|
initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
|
|
126
|
-
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection,
|
|
126
|
+
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, Collection, MutableIterable]);
|
|
127
127
|
initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
128
128
|
initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
|
|
129
129
|
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtMutableList]);
|
|
@@ -136,7 +136,7 @@ initMetadataForCompanion(Companion_2);
|
|
|
136
136
|
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtMutableList, RandomAccess]);
|
|
137
137
|
initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMutableMap]);
|
|
138
138
|
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
|
|
139
|
-
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [
|
|
139
|
+
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable, AbstractMutableCollection]);
|
|
140
140
|
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
|
|
141
141
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
142
142
|
initMetadataForClass(HashMapKeysDefault$iterator$1);
|