Deserialize annotations from package$src files if needed
For top-level members, we now write a FQ name of the package$src class which has the member's annotations, and read the correct file in deserialization
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
[Anno] var property: Int = 42
|
||||
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
test.Anno() internal var property: jet.Int
|
||||
internal fun <get-property>(): jet.Int
|
||||
internal fun <set-property>(/*0*/ <set-?>: jet.Int): jet.Unit
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
[Anno] val property: Int
|
||||
get() = 42
|
||||
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
test.Anno() internal val property: jet.Int
|
||||
internal fun <get-property>(): jet.Int
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
Reference in New Issue
Block a user