Extract Function: Use 'public' visibility for function extracted from public inline
#KT-15228 Fixed
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
// PARAM_DESCRIPTOR: value-parameter a: kotlin.Int defined in foo, value-parameter b: kotlin.Int defined in foo
|
||||
// PARAM_TYPES: kotlin.Int
|
||||
// PARAM_TYPES: kotlin.Int
|
||||
|
||||
private inline fun foo(a: Int, b: Int, f: (Int) -> Int) = f(i(a, b))
|
||||
|
||||
private fun i(a: Int, b: Int) = a + b
|
||||
Reference in New Issue
Block a user