[FIR] Forbid creating abstract class instances via any qualified access

^KT-58938 Fixed
This commit is contained in:
Nikolay Lunyak
2023-06-06 11:01:25 +03:00
committed by Space Team
parent fccb391f31
commit 5daec16ce0
12 changed files with 76 additions and 14 deletions
@@ -6,7 +6,7 @@ enum class D
fun main() {
::<!UNRESOLVED_REFERENCE!>A<!>
::B
::<!CREATING_AN_INSTANCE_OF_ABSTRACT_CLASS!>B<!>
::<!CALLABLE_REFERENCE_TO_ANNOTATION_CONSTRUCTOR!>C<!> // KT-3465
::<!UNRESOLVED_REFERENCE!>D<!>
}