Quickfix for published api
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
// "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
|
||||
`access$test`<String>("123")
|
||||
}()
|
||||
}
|
||||
|
||||
@PublishedApi
|
||||
internal fun <T> `access$test`(p: String) = test(p)
|
||||
}
|
||||
Reference in New Issue
Block a user