J2K: adding type arguments where they are needed and removing them where they are redundant

This commit is contained in:
Valentin Kipyatkov
2014-07-15 20:43:38 +04:00
parent f836278acc
commit 957ffb0313
31 changed files with 213 additions and 95 deletions
@@ -3,9 +3,9 @@ import kotlin.Map
class A {
fun foo(): Map<String, String> {
val list1 = listOf()
val list1 = listOf<String>()
val list2 = listOf(1)
val set1 = setOf()
val set1 = setOf<String>()
val set2 = setOf("a")
return mapOf()
}