Move Closeable to its usage, move internal Serializable to kotlin package in JS, introduce internal typealias in kotlin.io in JVM.

This commit is contained in:
Ilya Gorbunov
2016-10-05 21:48:38 +03:00
parent a895702730
commit 660dc94f7c
13 changed files with 28 additions and 123 deletions
-4
View File
@@ -340,10 +340,6 @@
append: throwAbstractFunctionInvocationError("Appendable#append")
});
Kotlin.Closeable = Kotlin.createTraitNow(null, null, {
close: throwAbstractFunctionInvocationError("Closeable#close")
});
Kotlin.safeParseInt = function (str) {
var r = parseInt(str, 10);
return isNaN(r) ? null : r;