JS: create new common directory for all generated tests, migrate several tests there
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
// This test was adapted from compiler/testData/codegen/box/callableReference/function/.
|
||||
package foo
|
||||
|
||||
abstract class A {
|
||||
abstract fun foo(): String
|
||||
}
|
||||
|
||||
class B : A() {
|
||||
override fun foo() = "OK"
|
||||
}
|
||||
|
||||
fun box(): String = (A::foo)(B())
|
||||
Reference in New Issue
Block a user