Fix tests: "infix modifier required" and "operator modifier required" errors
This commit is contained in:
@@ -3,7 +3,7 @@ package foo
|
||||
class myInt(a: Int) {
|
||||
val value = a;
|
||||
|
||||
fun plus(other: myInt): myInt = myInt(value + other.value)
|
||||
operator fun plus(other: myInt): myInt = myInt(value + other.value)
|
||||
}
|
||||
|
||||
fun box(): Boolean {
|
||||
|
||||
Reference in New Issue
Block a user