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
@@ -9,7 +9,7 @@ data class Test1<T : Any?> {
field = x
get
fun component1(): T {
operator fun component1(): T {
return <this>.#x
}
@@ -55,7 +55,7 @@ data class Test2<T : Number> {
field = x
get
fun component1(): T {
operator fun component1(): T {
return <this>.#x
}
@@ -98,7 +98,7 @@ data class Test3<T : Any?> {
field = x
get
fun component1(): List<T> {
operator fun component1(): List<T> {
return <this>.#x
}
@@ -141,7 +141,7 @@ data class Test4 {
field = x
get
fun component1(): List<String> {
operator fun component1(): List<String> {
return <this>.#x
}