Merged LoadCompiledKotlin test int LoadJavaTest.
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
Anno val x: Int by object {
|
||||
fun get(thiz: Any?, data: PropertyMetadata) = null!!
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
test.Anno() internal val x: jet.Int
|
||||
internal fun <get-x>(): jet.Int
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
import java.lang.annotation.ElementType
|
||||
|
||||
annotation class Anno(t: ElementType)
|
||||
|
||||
Anno(ElementType.METHOD) fun foo() {}
|
||||
|
||||
Anno(ElementType.FIELD) val bar = 42
|
||||
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
test.Anno(t = ElementType.FIELD: java.lang.annotation.ElementType) internal val bar: jet.Int
|
||||
internal fun <get-bar>(): jet.Int
|
||||
test.Anno(t = ElementType.METHOD: java.lang.annotation.ElementType) internal fun foo(): jet.Unit
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno(/*0*/ t: java.lang.annotation.ElementType)
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
Anno fun function() {}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
test.Anno() internal fun function(): jet.Unit
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
val property: Int
|
||||
[Anno] get() = 42
|
||||
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
internal val property: jet.Int
|
||||
test.Anno() internal fun <get-property>(): jet.Int
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
@@ -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
|
||||
|
||||
var property: Int = 42
|
||||
[Anno] set(value) { }
|
||||
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
internal var property: jet.Int
|
||||
internal fun <get-property>(): jet.Int
|
||||
test.Anno() internal fun <set-property>(/*0*/ value: jet.Int): jet.Unit
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
Reference in New Issue
Block a user