Add serialization for PRIVATE_TO_THIS

This commit is contained in:
Stanislav Erokhin
2014-11-20 17:06:16 +03:00
parent fc8cec9509
commit f640f82ed0
9 changed files with 80 additions and 14 deletions
@@ -0,0 +1,15 @@
package test
class A<in I> {
private val foo: I = null!!
private var bar: I = null!!
private val val_with_accessors: I
get() = null!!
private var var_with_accessors: I
get() = null!!
set(value: I) {}
private fun bas(): I = null!!
}
@@ -0,0 +1,16 @@
package test
internal final class A</*0*/ in I> {
/*primary*/ public constructor A</*0*/ in I>()
private/*private to this*/ final var bar: I
private/*private to this*/ final fun <get-bar>(): I
private/*private to this*/ final fun <set-bar>(/*0*/ <set-?>: I): kotlin.Unit
private/*private to this*/ final val foo: I
private/*private to this*/ final fun <get-foo>(): I
private/*private to this*/ final val val_with_accessors: I
private/*private to this*/ final fun <get-val_with_accessors>(): I
private/*private to this*/ final var var_with_accessors: I
private/*private to this*/ final fun <get-var_with_accessors>(): I
private/*private to this*/ final fun <set-var_with_accessors>(/*0*/ value: I): kotlin.Unit
private/*private to this*/ final fun bas(): I
}