[JS IR BE] Add Unit return type to function signature

This commit is contained in:
Svyatoslav Kuzmich
2019-05-15 10:35:58 +03:00
parent e8933738ac
commit 23a214710b
9 changed files with 15 additions and 7 deletions
+1
View File
@@ -253,6 +253,7 @@ public class Long internal constructor(
public override fun toDouble(): Double = toNumber()
// This method is used by `toString()`
@JsName("valueOf")
internal fun valueOf() = toDouble()
override fun equals(other: Any?): Boolean = other is Long && equalsLong(other)