Convert property to function: fix incorrectly conversion when property has explicit generic type

#KT-29192 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-05-15 11:44:49 +09:00
committed by Dmitry Gridin
parent 354f8f0bf1
commit 6ff776ba65
4 changed files with 21 additions and 0 deletions
@@ -0,0 +1,6 @@
class Test {
val <caret>foo: Foo<String>
get() = Foo()
}
class Foo<T>
@@ -0,0 +1,5 @@
class Test {
fun getFoo(): Foo<String> = Foo()
}
class Foo<T>