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

19 lines
292 B
Plaintext
Vendored

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