Fix tests: "infix modifier required" and "operator modifier required" errors
This commit is contained in:
@@ -3,7 +3,7 @@ package foo
|
||||
|
||||
class A(t: Int) {
|
||||
var i = t
|
||||
fun compareTo(other: A) = (this.i - other.i)
|
||||
operator fun compareTo(other: A) = (this.i - other.i)
|
||||
}
|
||||
|
||||
fun box(): Boolean {
|
||||
|
||||
Reference in New Issue
Block a user