made Map covariant on second parameter
This commit is contained in:
@@ -108,7 +108,7 @@ public trait MutableSet<E> : Set<E>, MutableCollection<E> {
|
||||
override fun clear()
|
||||
}
|
||||
|
||||
public trait Map<K, V> {
|
||||
public trait Map<K, out V> {
|
||||
// Query Operations
|
||||
public fun size() : Int
|
||||
public fun isEmpty() : Boolean
|
||||
|
||||
Reference in New Issue
Block a user