Setter visibility must be worse or the same as property visibility

This commit is contained in:
Mikhail Glukhikh
2015-12-17 16:18:53 +03:00
parent f5989aa4f2
commit fe57a9e48f
10 changed files with 55 additions and 13 deletions
@@ -16,12 +16,6 @@ class ClassVal() {
protected var property5: String = ""
private set
protected var property6: String = ""
internal set
protected var property7: java.util.Date = java.util.Date()
public set
public var property8: Int = 1
set