[FIR] Don't report duplicated errors in implicit properties / parameters

This commit is contained in:
Mikhail Glukhikh
2020-07-27 13:30:15 +03:00
parent ceaffb1e8b
commit 9335e09149
9 changed files with 27 additions and 17 deletions
@@ -1,4 +1,4 @@
data class A(val x: <!OTHER_ERROR, OTHER_ERROR, OTHER_ERROR, OTHER_ERROR, OTHER_ERROR!>Set<CLassNotFound><!> = setOf()) {
data class A(val x: <!OTHER_ERROR, OTHER_ERROR, OTHER_ERROR!>Set<CLassNotFound><!> = setOf()) {
fun with(x: <!OTHER_ERROR, OTHER_ERROR!>Set<CLassNotFound>?<!> = null) {
A(x ?: this.x)
}