Quickfix for published api

This commit is contained in:
Mikhael Bogdanov
2016-12-07 12:44:48 +01:00
parent f4259c5f82
commit 5ffc0b36b0
16 changed files with 340 additions and 15 deletions
@@ -0,0 +1,21 @@
// "Replace with generated @PublishedApi bridge call '`access$test`(...)'" "true"
annotation class Z
open class ABase<T> {
@Z
protected fun test(p: T) {
}
fun param(): T {
return null!!
}
inline fun test() {
{
`access$test`(param())
}()
}
@PublishedApi
internal fun `access$test`(p: T) = test(p)
}