[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
@@ -1,6 +1,6 @@
class P
fun foo(p: P): Any {
val v = p as <!UNRESOLVED_REFERENCE, UNRESOLVED_REFERENCE!>G<!>
val v = p as <!UNRESOLVED_REFERENCE!>G<!>
return v
}