Fix tests: "infix modifier required" and "operator modifier required" errors
This commit is contained in:
@@ -3,7 +3,7 @@ package foo
|
||||
class MyInt() {
|
||||
var b = 0
|
||||
|
||||
fun dec(): MyInt {
|
||||
operator fun dec(): MyInt {
|
||||
val res = MyInt()
|
||||
res.b++;
|
||||
return res;
|
||||
|
||||
Reference in New Issue
Block a user