Serialize/Deserialize const modifier
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
//ALLOW_AST_ACCESS
|
||||
package test
|
||||
|
||||
const private val topLevel = 1
|
||||
|
||||
object A {
|
||||
const protected val inObject = 2
|
||||
}
|
||||
|
||||
class B {
|
||||
companion object {
|
||||
const val inCompanion = 3
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package test
|
||||
|
||||
private const val topLevel: kotlin.Int = 1
|
||||
private fun <get-topLevel>(): kotlin.Int
|
||||
|
||||
public object A {
|
||||
/*primary*/ private constructor A()
|
||||
protected const final val inObject: kotlin.Int = 2
|
||||
protected final fun <get-inObject>(): kotlin.Int
|
||||
}
|
||||
|
||||
public final class B {
|
||||
/*primary*/ public constructor B()
|
||||
|
||||
public companion object Companion {
|
||||
/*primary*/ private constructor Companion()
|
||||
public const final val inCompanion: kotlin.Int = 3
|
||||
public final fun <get-inCompanion>(): kotlin.Int
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user