[FIR] Add 3 type mismatch diagnostics

This commit is contained in:
Nick
2020-08-12 14:45:57 +03:00
parent c8f8908a01
commit 61e21dadec
27 changed files with 736 additions and 114 deletions
@@ -3,7 +3,7 @@ interface A {
}
interface B : A {
override fun test(): Unit = "B"
override fun test(): <!RETURN_TYPE_MISMATCH_ON_OVERRIDE!>Unit<!> = "B"
}
open class C : A