FIR: make componentX functions operator

This commit is contained in:
Mikhail Glukhikh
2021-01-18 16:55:50 +03:00
parent 7934853c8e
commit 4fd4f504d0
41 changed files with 153 additions and 150 deletions
@@ -12,7 +12,7 @@ data class A {
field = runA
get
fun component1(): @ExtensionFunctionType Function2<A, String, Unit> {
operator fun component1(): @ExtensionFunctionType Function2<A, String, Unit> {
return <this>.#runA
}
@@ -66,7 +66,7 @@ data class B {
field = x
get
fun component1(): Any {
operator fun component1(): Any {
return <this>.#x
}