Remove js classes that should not be there
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user