Don't insert import if deprecation replacement contains stdlib typealias
Fixed #KT-14781
This commit is contained in:
@@ -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()
|
||||
+8
@@ -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()
|
||||
Reference in New Issue
Block a user