Files

18 lines
377 B
Kotlin
Vendored

// FIR_IDENTICAL
//KT-3344 InternalError in compiler when type arguments are not specified
package i
import java.util.HashMap
import java.util.ArrayList
class Foo(val attributes: Map<String, String>)
class Bar {
val foos = ArrayList<Foo>()
fun bar11(foo: Foo) {
foos.add(Foo(HashMap(foo.attributes))) // foo.attributes is unresolved but not marked
}
}