DeprecatedSymbolUsageFix: keeping explicit type arguments in original form
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
// "Replace with 'newFun<T>()'" "true"
|
||||
|
||||
@deprecated("", ReplaceWith("newFun<T>()"))
|
||||
fun <T> oldFun() {
|
||||
newFun<T>()
|
||||
}
|
||||
|
||||
fun <T> newFun(){}
|
||||
|
||||
fun foo() {
|
||||
<caret>oldFun<kotlin.Int>()
|
||||
}
|
||||
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
// "Replace with 'newFun<T>()'" "true"
|
||||
|
||||
@deprecated("", ReplaceWith("newFun<T>()"))
|
||||
fun <T> oldFun() {
|
||||
newFun<T>()
|
||||
}
|
||||
|
||||
fun <T> newFun(){}
|
||||
|
||||
fun foo() {
|
||||
<caret>newFun<kotlin.Int>()
|
||||
}
|
||||
Reference in New Issue
Block a user