[IR] dumpKotlinLike: add testdata for FIR tests
This commit is contained in:
committed by
teamcityserver
parent
d7bd4240e1
commit
c68040753d
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
operator fun J?.component1(): Int {
|
||||
return 1
|
||||
}
|
||||
|
||||
private operator fun J.component2(): Int {
|
||||
return 2
|
||||
}
|
||||
|
||||
fun test() {
|
||||
val <destruct>: J? = j()
|
||||
val a: Int = <destruct>.component1()
|
||||
val b: Int = <destruct>.component2()
|
||||
}
|
||||
Reference in New Issue
Block a user