[FIR] Avoid duplicate diagnostics on expression.typeRef

This commit is contained in:
Mikhail Glukhikh
2020-08-02 13:37:13 +03:00
parent dc46d51d9a
commit 951aa8185e
9 changed files with 82 additions and 42 deletions
@@ -15,7 +15,7 @@ fun foo() {
}
}
fun bar(i: Int, a: <!UNRESOLVED_REFERENCE, UNRESOLVED_REFERENCE, UNRESOLVED_REFERENCE!>U<!>) {
fun bar(i: Int, a: <!UNRESOLVED_REFERENCE!>U<!>) {
val r = if (true) i else a
val b: Any = r
}