JET-16 Check property initializers as parts of the primary constructor's body
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
class PrivateVal {
|
||||
class PrivateVal() {
|
||||
private val prop = 0;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
class PrivateVar {
|
||||
class PrivateVar() {
|
||||
private var x = 0;
|
||||
|
||||
fun setValueOfX(aValue: Int) { x = aValue }
|
||||
|
||||
Reference in New Issue
Block a user