Files
Frederik Haselmeier a3057e2a5a [kotlin] ported ReplaceProtectedToPublishedApiCallFix to K2
^KTIJ-29538 fixed

GitOrigin-RevId: 458bcf698137d72d9d4e2e0b2341acfbe451ee6b
2024-08-09 10:03:49 +00:00

19 lines
532 B
Kotlin

// "Replace with generated @PublishedApi bridge call '`access$test`(...)'" "true"
annotation class Z
open class ABase {
@Z
protected fun <T> test(p: T): T {
null!!
}
inline fun test() {
{
//TODO remove generic
<caret>test<String>("123")
}()
}
}
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.ReplaceProtectedToPublishedApiCallFix
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.replaceWith.ReplaceProtectedToPublishedApiCallFix