"Remove explicit type specification" intention: Add type argument to initializer if need #KT-13343 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-08-08 19:58:57 +09:00
committed by Mikhail Glukhikh
parent 54922362e3
commit 0099b7b3b1
6 changed files with 23 additions and 0 deletions
@@ -0,0 +1,2 @@
// WITH_RUNTIME
val x: <caret>Set<Int> = setOf()
@@ -0,0 +1,2 @@
// WITH_RUNTIME
val x = setOf<Int>()
@@ -0,0 +1,2 @@
class Foo<T, U>
val foo: <caret>Foo<Int, String> = Foo()
@@ -0,0 +1,2 @@
class Foo<T, U>
val foo = Foo<Int, String>()