[FIR] Don't report ARGUMENT_TYPE_MISMATCH on error types

This commit is contained in:
Dmitriy Novozhilov
2022-11-09 12:43:43 +02:00
committed by Space Team
parent 32f6b71525
commit 0e84bf2053
38 changed files with 83 additions and 99 deletions
@@ -9,7 +9,7 @@ class B(other: B = <!NO_THIS!>this<!>)
class C() {
constructor(x: Int) : this(<!ARGUMENT_TYPE_MISMATCH!>{
val a = 10
<!ARGUMENT_TYPE_MISMATCH, INSTANCE_ACCESS_BEFORE_SUPER_CALL!>this<!>
<!INSTANCE_ACCESS_BEFORE_SUPER_CALL!>this<!>
}<!>) {}
}