[FIR] Implement CREATING_AN_INSTANCE_OF_ABSTRACT_CLASS diagnostics, fix tests

This commit is contained in:
Ivan Kochurkin
2021-04-19 15:54:01 +03:00
committed by TeamCityServer
parent f2f2df90aa
commit d54808e33f
13 changed files with 66 additions and 28 deletions
+3 -3
View File
@@ -56,6 +56,6 @@ abstract class B3(i: Int) {
}
fun foo(c: B3) {
val a = B3(1)
val b = B1(2, "s")
}
val a = <!CREATING_AN_INSTANCE_OF_ABSTRACT_CLASS!>B3(1)<!>
val b = <!CREATING_AN_INSTANCE_OF_ABSTRACT_CLASS!>B1(2, "s")<!>
}