Accept maps out-projected by key where possible.

This commit is contained in:
Ilya Gorbunov
2016-08-02 22:26:46 +03:00
parent 738219d53e
commit fb99919c59
4 changed files with 39 additions and 39 deletions
@@ -327,7 +327,7 @@ class GenericFunction(val signature: String, val keyword: String = "fun") {
Iterables -> "Iterable<$isAsteriskOrT>"
Collections -> "Collection<$isAsteriskOrT>"
Lists -> "List<$isAsteriskOrT>"
Maps -> "Map<K, V>"
Maps -> "Map<out K, V>"
Sets -> "Set<$isAsteriskOrT>"
Sequences -> "Sequence<$isAsteriskOrT>"
InvariantArraysOfObjects -> "Array<T>"