KT-1846 proper visibility for constructor parameters properties

This commit is contained in:
Alex Tkachman
2012-08-04 20:13:48 +03:00
parent 0ecb02cc25
commit c4ff8ae452
3 changed files with 33 additions and 4 deletions
@@ -0,0 +1,4 @@
class A(private var v1: String) {
private var v2 = v1
fun toString(): String { return "A[v1=$v1,v2=$v2]" }
}