[FIR] Don't report duplicated errors in implicit primary constructors

This commit is contained in:
Mikhail Glukhikh
2020-07-27 13:17:50 +03:00
parent 749346b73b
commit ceaffb1e8b
12 changed files with 49 additions and 42 deletions
@@ -1,6 +1,6 @@
// FILE: K1.kt
class K2: J1() {
class Q : <!OTHER_ERROR, OTHER_ERROR, OTHER_ERROR!>Nested<!>()
class Q : <!OTHER_ERROR!>Nested<!>()
fun bar() {
<!UNRESOLVED_REFERENCE!>foo<!>()
<!UNRESOLVED_REFERENCE!>baz<!>()