JET-6 Perform checks for primary and secondary constructors (In progress): class having a stateful property must have a constructor
This commit is contained in:
@@ -43,7 +43,7 @@ class WithCPI(x : Int) {
|
||||
val xy : Int = x
|
||||
}
|
||||
|
||||
class NoCPI {
|
||||
class <error>NoCPI</error> {
|
||||
val a = <error>1</error>
|
||||
var ab = <error>1</error>
|
||||
get() = 1
|
||||
|
||||
Reference in New Issue
Block a user