Remove js classes that should not be there

This commit is contained in:
Ilya Gorbunov
2016-10-01 01:51:44 +03:00
parent 2ff8e922f0
commit a895702730
8 changed files with 15 additions and 19 deletions
+4
View File
@@ -11,6 +11,10 @@ public object SomeClass {
public fun run(): Unit = work.run()
}
interface Runnable {
fun run(): Unit
}
fun box(): String {
SomeClass.run()
return "OK"
@@ -28,4 +28,8 @@ class C {
}
}
interface Runnable {
fun run(): Unit
}
fun box() = C().foo()
@@ -24,4 +24,8 @@ class C{
}
}
interface Runnable {
fun run(): Unit
}
fun box() = if (C().foo() == 3) "OK" else "NOT OK"