Revert temporary type adjustments on builtins

These were made during migration of builtins from package "jet" to "kotlin"
This commit is contained in:
Alexander Udalov
2014-03-02 21:38:57 +04:00
parent afc3d33576
commit 406855467c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
package kotlin
public class Array<reified T>(public val size: Int, init: Function1<Int, T>) {
public class Array<reified T>(public val size: Int, init: (Int) -> T) {
public fun get(index: Int): T
public fun set(index: Int, value: T): Unit
+1 -1
View File
@@ -17,7 +17,7 @@
package kotlin
public class Unit private() {
override fun toString(): String = "Unit.VALUE"
override fun toString() = "Unit.VALUE"
class object {
public val VALUE: Unit = Unit()