6356807997
#KT-36247 fixed A lot of testdata changed because significanly less (error) descriptors are created for unresolved types, so diagnostics became different.
16 lines
477 B
Kotlin
Vendored
16 lines
477 B
Kotlin
Vendored
// !WITH_NEW_INFERENCE
|
|
fun test(): Array<Int> {
|
|
<!UNSUPPORTED!>[1, 2]<!>
|
|
<!UNSUPPORTED!>[1, 2]<!>[0]
|
|
<!UNSUPPORTED!>[1, 2]<!>.get(0)
|
|
|
|
foo(<!UNSUPPORTED!>[""]<!>)
|
|
|
|
val <!UNUSED_VARIABLE!>p<!> = <!UNSUPPORTED!>[1, 2]<!> <!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>+<!> <!OI;UNSUPPORTED!>[3, 4]<!>
|
|
|
|
return <!UNSUPPORTED!>[1, 2]<!>
|
|
}
|
|
|
|
fun foo(<!UNUSED_PARAMETER!>a<!>: Array<String> = <!UNSUPPORTED!>[""]<!>) {}
|
|
|
|
class A(val a: Array<Int> = <!UNSUPPORTED!>[]<!>) |