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