[IR] add testdata for dumpKotlinLike
This commit is contained in:
committed by
teamcityserver
parent
d2022ab115
commit
8d5facb15f
@@ -0,0 +1,12 @@
|
||||
fun interface KRunnable {
|
||||
abstract fun invoke()
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
fun test(a: Any?) {
|
||||
a as Function0<Unit> /*~> Unit */
|
||||
a /*as Function0<Unit> */ /*-> KRunnable */.invoke()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user