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

19 lines
292 B
Kotlin

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