FIR checker: report uninitialized member/extension properties
This commit is contained in:
committed by
Dmitriy Novozhilov
parent
e8028e7825
commit
e009b71f88
+3
@@ -4,6 +4,9 @@ compiler/testData/cli/jvm/firError.kt:5:13: error: x must be initialized before
|
||||
compiler/testData/cli/jvm/firError.kt:10:16: error: public subclass exposes its private supertype 'Private'
|
||||
class Public : Private() {
|
||||
^
|
||||
compiler/testData/cli/jvm/firError.kt:11:5: error: property must be initialized or be abstract
|
||||
val x: Private
|
||||
^
|
||||
compiler/testData/cli/jvm/firError.kt:11:9: error: public property exposes its private type 'Private'
|
||||
val x: Private
|
||||
^
|
||||
|
||||
Reference in New Issue
Block a user