[FIR] Report error on non-public API access in @PublishedApi inline fun

^KT-59695: Fixed
This commit is contained in:
vladislav.grechko
2023-06-28 11:59:56 +02:00
committed by Space Team
parent 36c8987df2
commit 195ca10394
10 changed files with 14 additions and 332 deletions
@@ -1,4 +1,7 @@
// !DIAGNOSTICS: -EXPOSED_PARAMETER_TYPE -NOTHING_TO_INLINE
// FIR_IDENTICAL
inline fun call(a: A) {
a.test()
publishedTopLevel()