[FE] Prohibit missed MUST_BE_INITIALIZED when there is no primary constructor
^KT-58472 Fixed Review: https://jetbrains.team/p/kt/reviews/9967
This commit is contained in:
+2
-2
@@ -33,8 +33,8 @@ class SecondDerived : Second() {
|
||||
override fun foo() = y
|
||||
}
|
||||
|
||||
open class Third {
|
||||
open var x: String
|
||||
abstract class Third {
|
||||
abstract var x: String
|
||||
|
||||
constructor() {
|
||||
x = "X" // Non-final property access
|
||||
|
||||
Reference in New Issue
Block a user