Fix tests: "infix modifier required" and "operator modifier required" errors
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
package foo
|
||||
|
||||
class A {
|
||||
fun component1(): Int = 1
|
||||
operator fun component1(): Int = 1
|
||||
}
|
||||
fun A.component2(): String = "n"
|
||||
operator fun A.component2(): String = "n"
|
||||
|
||||
fun box(): String {
|
||||
val list = Array<A>(1, { A() })
|
||||
|
||||
Reference in New Issue
Block a user