Always generate getter and setter

This commit is contained in:
Mikhael Bogdanov
2013-03-18 12:47:48 +04:00
parent 83a717bafe
commit 93b860e4ad
4 changed files with 20 additions and 17 deletions
@@ -13,10 +13,10 @@ trait MooableTextField : InputTextField {
}
class SimpleTextField : MooableTextField {
private var text = ""
override fun getText() = text
private var text2 = ""
override fun getText() = text2
override fun setText(text: String) {
this.text = text
this.text2 = text
}
override fun moo(a: Int, b: Int, c: Int) = a + b + c
}