Don't insert import if deprecation replacement contains stdlib typealias

Fixed #KT-14781
This commit is contained in:
Vladimir Dolzhenko
2020-02-06 15:47:09 +01:00
parent 2249c223fe
commit 44cf0a9f72
4 changed files with 30 additions and 1 deletions
@@ -0,0 +1,8 @@
// "Replace with 'Exception()'" "true"
// RUNTIME_WITH_FULL_JDK
package ppp
@Deprecated("do not use", ReplaceWith("Exception()"))
fun x(): Throwable = RuntimeException()
val e = <caret>x()
@@ -0,0 +1,8 @@
// "Replace with 'Exception()'" "true"
// RUNTIME_WITH_FULL_JDK
package ppp
@Deprecated("do not use", ReplaceWith("Exception()"))
fun x(): Throwable = RuntimeException()
val e = <caret>Exception()