Fix tests: "infix modifier required" and "operator modifier required" errors
This commit is contained in:
@@ -3,7 +3,7 @@ fun foo() {
|
||||
1
|
||||
}
|
||||
|
||||
fun Int.foo(i: Int) {
|
||||
infix fun Int.foo(i: Int) {
|
||||
}
|
||||
|
||||
// 2 4 7
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
fun String.execute(p: String) = this + p
|
||||
infix fun String.execute(p: String) = this + p
|
||||
|
||||
fun box(){
|
||||
test() execute
|
||||
|
||||
Reference in New Issue
Block a user