[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
@@ -4,6 +4,7 @@ open class A {
}
interface I {
@JsName("foo")
fun foo(): Any
}
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// EXPECTED_REACHABLE_NODES: 1292
var log = ""
+1
View File
@@ -11,5 +11,6 @@ object t {
}
object n {
@JsName("valueOf")
fun valueOf() = 42
}
@@ -4,6 +4,7 @@ package foo
class Counter {
var count: Int = 0
@JsName("inc")
public fun inc() {
count++
}
@@ -1,10 +1,12 @@
// EXPECTED_REACHABLE_NODES: 1301
public interface A {
@JsName("foo")
fun foo() {
}
}
public interface B : A {
@JsName("boo")
fun boo() {
}
}