initial support for properties backed by instance fields; some dummy code to generate primary constructor
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
class PrivateVar {
|
||||
private var x = 0;
|
||||
|
||||
fun setValueOfX(val: Int) { x = val }
|
||||
fun setValueOfX(aValue: Int) { x = aValue }
|
||||
fun getValueOfX() = x
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user