Fix tests: "infix modifier required" and "operator modifier required" errors
This commit is contained in:
+3
-1
@@ -1,3 +1,5 @@
|
||||
infix fun String.add(other: String) = ""
|
||||
|
||||
fun foo(x: String) {
|
||||
x.plus("1" + "2")
|
||||
x.add("1" + "2")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user