KT-7989 ReplaceWith replacement adds redundant type arguments for platform types

Highlighting of redundant type arguments made more strict about platform types

 #KT-7989 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-06-10 15:21:37 +03:00
parent 2203fb3231
commit 366a2be8a7
15 changed files with 181 additions and 58 deletions
@@ -3,6 +3,6 @@ import javaApi.T
class A {
public fun foo(t: T): Any {
return Collections.nCopies<Set<String>>(1, t.set)
return Collections.nCopies(1, t.set)
}
}