d7399ed1cf
Some of the changed tests may duplicate other existing diagnostics, but that should not be reason not to report them at all. There might be another job to be done to avoid diagnostic duplications
26 lines
696 B
Kotlin
Vendored
26 lines
696 B
Kotlin
Vendored
|
|
fun test1() {
|
|
<!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER, NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER, NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>if (<!UNRESOLVED_REFERENCE!>rr<!>) {
|
|
if (<!UNRESOLVED_REFERENCE!>l<!>) {
|
|
<!UNRESOLVED_REFERENCE!>a<!>.q()
|
|
}
|
|
else {
|
|
<!UNRESOLVED_REFERENCE!>a<!>.w()
|
|
}
|
|
}
|
|
else {
|
|
if (<!UNRESOLVED_REFERENCE!>n<!>) {
|
|
<!UNRESOLVED_REFERENCE!>a<!>.t()
|
|
}
|
|
else {
|
|
<!UNRESOLVED_REFERENCE!>a<!>.u()
|
|
}
|
|
}<!>
|
|
}
|
|
|
|
fun test2(l: List<<!UNRESOLVED_REFERENCE!>AA<!>>) {
|
|
l.<!UNRESOLVED_REFERENCE!>map<!> {
|
|
<!UNRESOLVED_REFERENCE!>it<!>!!
|
|
}
|
|
}
|