FIR checker: report SUPERTYPE_NOT_INITIALIZED
Combined this and the checker of SUPERTYPE_INITIALIZED_WITHOUT_PRIMARY_CONSTRUCTOR together. Also fixed SUPERTYPE_INITIALIZED_WITHOUT_PRIMARY_CONSTRUCTOR incorrectly repoted as warning instead of error.
This commit is contained in:
committed by
Dmitriy Novozhilov
parent
6134c00698
commit
56bec6997c
+5
-5
@@ -1,11 +1,11 @@
|
||||
open class NoC
|
||||
class NoC1 : NoC
|
||||
class NoC1 : <!SUPERTYPE_NOT_INITIALIZED!>NoC<!>
|
||||
|
||||
class WithC0() : NoC()
|
||||
open class WithC1() : NoC
|
||||
class NoC2 : WithC1
|
||||
open class WithC1() : <!SUPERTYPE_NOT_INITIALIZED!>NoC<!>
|
||||
class NoC2 : <!SUPERTYPE_NOT_INITIALIZED!>WithC1<!>
|
||||
class NoC3 : WithC1()
|
||||
class WithC2() : WithC1
|
||||
class WithC2() : <!SUPERTYPE_NOT_INITIALIZED!>WithC1<!>
|
||||
|
||||
class WithPC0() {
|
||||
}
|
||||
@@ -32,4 +32,4 @@ class NoCPI {
|
||||
var ab = <!PROPERTY_INITIALIZER_NO_BACKING_FIELD!>1<!>
|
||||
get() = 1
|
||||
set(v) {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user