FIR: make componentX functions operator
This commit is contained in:
@@ -13,11 +13,11 @@ data class A {
|
||||
field = y
|
||||
get
|
||||
|
||||
fun component1(): Int {
|
||||
operator fun component1(): Int {
|
||||
return <this>.#x
|
||||
}
|
||||
|
||||
fun component2(): Int {
|
||||
operator fun component2(): Int {
|
||||
return <this>.#y
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user