Fix tests: "infix modifier required" and "operator modifier required" errors
This commit is contained in:
Vendored
+1
-1
@@ -8,7 +8,7 @@ class A<T>(val list: MutableList<T>) {
|
||||
}
|
||||
}
|
||||
|
||||
fun <T> A<T>.plusAssign(other: Collection<T>) {
|
||||
operator fun <T> A<T>.plusAssign(other: Collection<T>) {
|
||||
addAll(other)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user