Files
kotlin-fork/compiler/testData/diagnostics/testsWithStdLib/regression/ea65206.kt
T

10 lines
202 B
Kotlin
Vendored

class A {
val x = arrayListOf<(A<<!SYNTAX!><!>>) -> Unit>()
// Here we got an exception during type comparison
fun foo(){
<!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>x<!>.add {}
}
}