Can be private: correct detection of calls inside inline function
So #KT-22180 Fixed So #KT-22094 Fixed
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
open class AA {
|
||||
protected inline fun foo() {
|
||||
val result = bar()
|
||||
}
|
||||
protected fun bar() {
|
||||
}
|
||||
}
|
||||
|
||||
fun <T> run(f: () -> T): T = f()
|
||||
|
||||
object TT {
|
||||
inline fun foo(f: () -> String) {
|
||||
run {
|
||||
bar(f())
|
||||
}
|
||||
}
|
||||
|
||||
fun bar(s: String) = s
|
||||
}
|
||||
Reference in New Issue
Block a user