[FIR] Implement CREATING_AN_INSTANCE_OF_ABSTRACT_CLASS diagnostics, fix tests
This commit is contained in:
committed by
TeamCityServer
parent
f2f2df90aa
commit
d54808e33f
+3
-3
@@ -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")<!>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user