Fix tests: "infix modifier required" and "operator modifier required" errors
This commit is contained in:
@@ -2,7 +2,7 @@ package foo
|
||||
|
||||
class MyInt(i: Int) {
|
||||
var b = i
|
||||
fun inc(): MyInt {
|
||||
operator fun inc(): MyInt {
|
||||
b = b++;
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user