Fix tests: "infix modifier required" and "operator modifier required" errors
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
fun Int.test(x : Int) : Int {
|
||||
infix fun Int.test(x : Int) : Int {
|
||||
if (this > 1) {
|
||||
return (this - 1) test x
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user