Files
kotlin-fork/idea/testData/quickfix/autoImports/beforeUnresolvedReferenceInCall.kt
T
Nikolay Krasko 24794741ff Testing auto imports work in calls
#KT-4000 In Progress
2013-09-24 16:54:26 +04:00

17 lines
271 B
Kotlin

// "Import" "true"
// ERROR: Please specify constructor invocation; classifier 'ArrayList' does not have a class object
// KT-4000
package testing
class Test {
fun foo(a: Collection<String>) {
}
}
fun test() {
val t = Test()
t.foo(<caret>ArrayList)
}