Files
kotlin-fork/idea/testData/copyPaste/imports/FunctionParameter.kt
T
Pavel V. Talanov 61153c87e0 Insert imports on copy/paste
Introduce KotlinCopyPasteReferenceProcessor
2014-02-04 20:19:52 +04:00

10 lines
157 B
Kotlin

//RUNTIME
// ALLOW_UNRESOLVED
package a
fun <T> f(c: Int, b: List<T>) {
<selection>val r = arrayListOf<T>()
r.addAll(b)
val x = c</selection>
}