Fix private setter visibility for generic class

#KT-8888 fixed
This commit is contained in:
Alexey Tsvetkov
2015-10-26 17:26:32 +03:00
parent 7dbb0dff2c
commit 7c54024a22
4 changed files with 28 additions and 2 deletions
@@ -0,0 +1,9 @@
class A<T> {
public var x: Int = 0
private set
}
fun main(args: Array<String>) {
val a = A<Any>()
<!INVISIBLE_SETTER!>a.x<!> = 1
}