Private setters are now deprecated for open properties

This commit is contained in:
Mikhail Glukhikh
2015-11-23 10:03:56 +03:00
parent 74976911a2
commit 1c609663a4
9 changed files with 17 additions and 5 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ interface MyTrait {
<warning>abstract</warning> val a3: Int = <error>1</error>
var b: Int <error>private</error> set
var b1: Int = <error>0</error>; private set
var b1: Int = <error>0</error>; <warning>private</warning> set
<warning>abstract</warning> var b2: Int <error>private</error> set
<warning>abstract</warning> var b3: Int = <error>0</error>; <error>private</error> set