Files
kotlin/idea/testData/quickfix/createFromUsage/createFunction/call/approximateAnonymousObjectRuntime.kt
Alexey Sedunov ae06f01c95 Create from Usage: Approximate unresolvable types
#KT-7722 Fixed
(cherry picked from commit 917cd22)
2016-07-20 16:36:12 +03:00

8 lines
176 B
Kotlin
Vendored

// "Create extension function 'List<Int>.foo'" "true"
open class A
fun main(args: Array<String>) {
val list = listOf(1, 2, 4, 5)
list.<caret>foo { object : A() {} }
}