[FIR] Forbid creating abstract class instances via any qualified access
^KT-58938 Fixed
This commit is contained in:
committed by
Space Team
parent
fccb391f31
commit
5daec16ce0
Vendored
+1
-1
@@ -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<!>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user