Files
kotlin-fork/idea/testData/quickfix/autoImports/unresolvedReferenceInCall.kt
T
2017-06-22 15:02:10 +03:00

17 lines
271 B
Kotlin
Vendored

// "Import" "true"
// ERROR: Classifier 'ArrayList' does not have a companion object, and thus must be initialized here
// KT-4000
package testing
class Test {
fun foo(a: Collection<String>) {
}
}
fun test() {
val t = Test()
t.foo(<caret>ArrayList)
}