[FE] Prohibit open val deferred initialization
^KT-57553 Fixed Review: https://jetbrains.team/p/kt/reviews/9967 Other related tests: - testUninitializedOrReassignedVariables - testUseOfPropertiesWithoutPrimary - @TestMetadata("compiler/testData/diagnostics/tests/secondaryConstructors") - testAugmentedAssignmentInInitializer - testInitOpenSetter - testInitOverrideInConstructorComplex - testPropertyInitializationOrder
This commit is contained in:
+1
@@ -1,3 +1,4 @@
|
||||
// !LANGUAGE: -ProhibitOpenValDeferredInitialization
|
||||
abstract class A {
|
||||
val b = B("O")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user