Fix tests: "infix modifier required" and "operator modifier required" errors
This commit is contained in:
@@ -23,9 +23,9 @@ fun ComparableRange<C>.iterator(): Iterator<C> {
|
||||
}
|
||||
|
||||
open 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 {
|
||||
var i = 0;
|
||||
|
||||
Reference in New Issue
Block a user