K2: Avoid losing diagnostics for synthetic calls
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
This commit is contained in:
committed by
Space Team
parent
fe5adab652
commit
d7399ed1cf
+2
-2
@@ -1,6 +1,6 @@
|
||||
|
||||
fun test1() {
|
||||
if (<!UNRESOLVED_REFERENCE!>rr<!>) {
|
||||
<!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()
|
||||
}
|
||||
@@ -15,7 +15,7 @@ fun test1() {
|
||||
else {
|
||||
<!UNRESOLVED_REFERENCE!>a<!>.u()
|
||||
}
|
||||
}
|
||||
}<!>
|
||||
}
|
||||
|
||||
fun test2(l: List<<!UNRESOLVED_REFERENCE!>AA<!>>) {
|
||||
|
||||
Reference in New Issue
Block a user