Create from Usage: Approximate unresolvable types
#KT-7722 Fixed (cherry picked from commit 917cd22)
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
// "Create extension function 'List<Int>.foo'" "true"
|
||||
|
||||
open class A
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
class Local : A()
|
||||
|
||||
val list = listOf(1, 2, 4, 5)
|
||||
list.<caret>foo { Local() }
|
||||
}
|
||||
Reference in New Issue
Block a user