mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 08:31:28 +00:00
Unwrap: function parameter (KT-14788)
#KT-14788 Fixed
This commit is contained in:
committed by
Nikolay Krasko
parent
6838873a93
commit
c1f43558b9
9
idea/testData/codeInsight/unwrapAndRemove/unwrapFunctionParameter/functionHasMultiParam.kt
vendored
Normal file
9
idea/testData/codeInsight/unwrapAndRemove/unwrapFunctionParameter/functionHasMultiParam.kt
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
// IS_APPLICABLE: false
|
||||
fun test() {
|
||||
val i = 1
|
||||
foo(baz<caret>(i, 2))
|
||||
}
|
||||
|
||||
fun foo(i: Int) {}
|
||||
|
||||
fun baz(i: Int, j: Int) = 1
|
||||
Reference in New Issue
Block a user