@flock/wirespec 0.17.4 → 0.17.5
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 +8 -8
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/package.json +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +67 -67
- package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-kotlin.mjs +66 -66
- package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-python.mjs +96 -96
- package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-typescript.mjs +54 -54
- package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-wirespec.mjs +15 -15
- 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.log10 === 'undefined') {
|
|
41
|
+
Math.log10 = function (x) {
|
|
42
|
+
return Math.log(x) * Math.LOG10E;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
40
45
|
if (typeof Math.log2 === 'undefined') {
|
|
41
46
|
Math.log2 = function (x) {
|
|
42
47
|
return Math.log(x) * Math.LOG2E;
|
|
@@ -53,11 +58,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
53
58
|
};
|
|
54
59
|
}(Math.log, Math.LN2);
|
|
55
60
|
}
|
|
56
|
-
if (typeof Math.log10 === 'undefined') {
|
|
57
|
-
Math.log10 = function (x) {
|
|
58
|
-
return Math.log(x) * Math.LOG10E;
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
61
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
62
62
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
63
63
|
var subjectString = this.toString();
|
|
@@ -100,8 +100,8 @@ initMetadataForInterface(KtSet, 'Set', VOID, VOID, [Collection]);
|
|
|
100
100
|
initMetadataForInterface(Entry, 'Entry');
|
|
101
101
|
initMetadataForInterface(KtMap, 'Map');
|
|
102
102
|
initMetadataForInterface(MutableIterable, 'MutableIterable');
|
|
103
|
-
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList,
|
|
104
|
-
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet,
|
|
103
|
+
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
|
|
104
|
+
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
|
|
105
105
|
initMetadataForInterface(KtMutableMap, 'MutableMap', VOID, VOID, [KtMap]);
|
|
106
106
|
initMetadataForCompanion(Companion_0);
|
|
107
107
|
initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
|
|
@@ -121,7 +121,7 @@ initMetadataForObject(Letter, 'Letter');
|
|
|
121
121
|
initMetadataForObject(OtherLowercase, 'OtherLowercase');
|
|
122
122
|
initMetadataForInterface(Comparator, 'Comparator');
|
|
123
123
|
initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
|
|
124
|
-
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection,
|
|
124
|
+
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, Collection, MutableIterable]);
|
|
125
125
|
initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
126
126
|
initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
|
|
127
127
|
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtMutableList]);
|