KT-3344 InternalError in compiler when type arguments are not specified
#KT-3344 fixed
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
//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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user