Fix tests: "infix modifier required" and "operator modifier required" errors
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
class A {
|
||||
}
|
||||
|
||||
fun A.component1() = 1
|
||||
fun A.component2() = 2
|
||||
operator fun A.component1() = 1
|
||||
operator fun A.component2() = 2
|
||||
|
||||
fun box() : String {
|
||||
var (a, b) = A()
|
||||
|
||||
Reference in New Issue
Block a user