Fix tests: "infix modifier required" and "operator modifier required" errors
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
import java.util.*
|
||||
|
||||
fun <K, V> MutableMap<K, V>.set(k : K, v : V) = put(k, v)
|
||||
operator fun <K, V> MutableMap<K, V>.set(k : K, v : V) = put(k, v)
|
||||
|
||||
fun box() : String {
|
||||
val map = HashMap<String,String>()
|
||||
|
||||
Reference in New Issue
Block a user