Inline function: add extra tests taken from intellij-community
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
fun usage(arr: IntArray) {
|
||||
val array: IntArray
|
||||
for (i in array.indices) {
|
||||
method(array[i])
|
||||
}
|
||||
}
|
||||
|
||||
fun <caret>method(i: Int) {
|
||||
println(i)
|
||||
}
|
||||
Reference in New Issue
Block a user