Extract Function: Use 'public' visibility for function extracted from public inline

#KT-15228 Fixed
This commit is contained in:
Alexey Sedunov
2018-02-28 13:07:43 +03:00
parent d690aedb89
commit 5f43bd56b4
6 changed files with 40 additions and 1 deletions
@@ -0,0 +1,5 @@
// 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(<selection>a + b</selection>)