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
@@ -4,10 +4,10 @@ trait TextField {
}
class SimpleTextField : TextField {
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
}
}