Merged LoadCompiledKotlin test int LoadJavaTest.
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
class Class {
|
||||
class object {
|
||||
[Anno] var property: Int = 42
|
||||
}
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
package test
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
|
||||
internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
|
||||
internal class object <class-object-for-Class> {
|
||||
/*primary*/ private constructor <class-object-for-Class>()
|
||||
test.Anno() internal final var property: jet.Int
|
||||
internal final fun <get-property>(): jet.Int
|
||||
internal final fun <set-property>(/*0*/ <set-?>: jet.Int): jet.Unit
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
class Class {
|
||||
Anno val x: Int by object {
|
||||
fun get(thiz: Class, data: PropertyMetadata) = null!!
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
|
||||
internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
test.Anno() internal final val x: jet.Int
|
||||
internal final fun <get-x>(): jet.Int
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
import java.lang.annotation.ElementType
|
||||
|
||||
annotation class Anno(t: ElementType)
|
||||
|
||||
class Class {
|
||||
Anno(ElementType.METHOD) fun foo() {}
|
||||
|
||||
Anno(ElementType.FIELD) var bar = 42
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package test
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno(/*0*/ t: java.lang.annotation.ElementType)
|
||||
}
|
||||
|
||||
internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
test.Anno(t = ElementType.FIELD: java.lang.annotation.ElementType) internal final var bar: jet.Int
|
||||
internal final fun <get-bar>(): jet.Int
|
||||
internal final fun <set-bar>(/*0*/ <set-?>: jet.Int): jet.Unit
|
||||
test.Anno(t = ElementType.METHOD: java.lang.annotation.ElementType) internal final fun foo(): jet.Unit
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
class Class {
|
||||
Anno fun foo() { }
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package test
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
|
||||
internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
test.Anno() internal final fun foo(): jet.Unit
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
class Class {
|
||||
val property: Int
|
||||
[Anno] get() = 42
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
|
||||
internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
internal final val property: jet.Int
|
||||
test.Anno() internal final fun <get-property>(): jet.Int
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
class Class {
|
||||
[Anno] var property: Int = 42
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package test
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
|
||||
internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
test.Anno() internal final var property: jet.Int
|
||||
internal final fun <get-property>(): jet.Int
|
||||
internal final fun <set-property>(/*0*/ <set-?>: jet.Int): jet.Unit
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
class Class {
|
||||
var property: Int = 42
|
||||
[Anno] set(value) { }
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package test
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
|
||||
internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
internal final var property: jet.Int
|
||||
internal final fun <get-property>(): jet.Int
|
||||
test.Anno() internal final fun <set-property>(/*0*/ value: jet.Int): jet.Unit
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
class Class {
|
||||
class object {
|
||||
Anno class Nested
|
||||
|
||||
Anno inner class Inner
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package test
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
|
||||
internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
|
||||
internal class object <class-object-for-Class> {
|
||||
/*primary*/ private constructor <class-object-for-Class>()
|
||||
|
||||
test.Anno() internal final inner class Inner {
|
||||
/*primary*/ public constructor Inner()
|
||||
}
|
||||
|
||||
test.Anno() internal final class Nested {
|
||||
/*primary*/ public constructor Nested()
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
class Class {
|
||||
Anno class object
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package test
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
|
||||
internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
|
||||
test.Anno() internal class object <class-object-for-Class> {
|
||||
/*primary*/ private constructor <class-object-for-Class>()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
deprecated("Class") class Class {
|
||||
deprecated("Nested") class Nested
|
||||
|
||||
deprecated("Inner") inner class Inner
|
||||
|
||||
deprecated("class object") class object
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package test
|
||||
|
||||
jet.deprecated(value = "Class": jet.String) internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
|
||||
jet.deprecated(value = "class object": jet.String) internal class object <class-object-for-Class> {
|
||||
/*primary*/ private constructor <class-object-for-Class>()
|
||||
}
|
||||
|
||||
jet.deprecated(value = "Inner": jet.String) internal final inner class Inner {
|
||||
/*primary*/ public constructor Inner()
|
||||
}
|
||||
|
||||
jet.deprecated(value = "Nested": jet.String) internal final class Nested {
|
||||
/*primary*/ public constructor Nested()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package test
|
||||
|
||||
import java.lang.annotation.ElementType
|
||||
|
||||
annotation class Anno(t: ElementType)
|
||||
|
||||
Anno(ElementType.METHOD) class Class {
|
||||
Anno(ElementType.PARAMETER) inner class Inner
|
||||
|
||||
Anno(ElementType.TYPE) class Nested
|
||||
|
||||
Anno(ElementType.ANNOTATION_TYPE) class object
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package test
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno(/*0*/ t: java.lang.annotation.ElementType)
|
||||
}
|
||||
|
||||
test.Anno(t = ElementType.METHOD: java.lang.annotation.ElementType) internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
|
||||
test.Anno(t = ElementType.ANNOTATION_TYPE: java.lang.annotation.ElementType) internal class object <class-object-for-Class> {
|
||||
/*primary*/ private constructor <class-object-for-Class>()
|
||||
}
|
||||
|
||||
test.Anno(t = ElementType.PARAMETER: java.lang.annotation.ElementType) internal final inner class Inner {
|
||||
/*primary*/ public constructor Inner()
|
||||
}
|
||||
|
||||
test.Anno(t = ElementType.TYPE: java.lang.annotation.ElementType) internal final class Nested {
|
||||
/*primary*/ public constructor Nested()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
annotation class A1
|
||||
annotation class A2
|
||||
annotation class A3
|
||||
|
||||
A1 A2 A3 class Class
|
||||
@@ -0,0 +1,17 @@
|
||||
package test
|
||||
|
||||
internal final annotation class A1 : jet.Annotation {
|
||||
/*primary*/ public constructor A1()
|
||||
}
|
||||
|
||||
internal final annotation class A2 : jet.Annotation {
|
||||
/*primary*/ public constructor A2()
|
||||
}
|
||||
|
||||
internal final annotation class A3 : jet.Annotation {
|
||||
/*primary*/ public constructor A3()
|
||||
}
|
||||
|
||||
test.A1() test.A2() test.A3() internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
class Class {
|
||||
Anno class Nested
|
||||
|
||||
Anno inner class Inner
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package test
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
|
||||
internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
|
||||
test.Anno() internal final inner class Inner {
|
||||
/*primary*/ public constructor Inner()
|
||||
}
|
||||
|
||||
test.Anno() internal final class Nested {
|
||||
/*primary*/ public constructor Nested()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
import java.lang.annotation.*
|
||||
|
||||
Retention(RetentionPolicy.RUNTIME) annotation class Anno
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
java.lang.annotation.Retention(value = RetentionPolicy.RUNTIME: java.lang.annotation.RetentionPolicy) internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
Anno class X
|
||||
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
|
||||
test.Anno() internal final class X {
|
||||
/*primary*/ public constructor X()
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package test
|
||||
|
||||
annotation class IntAnno(val value: Int)
|
||||
annotation class ShortAnno(val value: Short)
|
||||
annotation class ByteAnno(val value: Byte)
|
||||
annotation class LongAnno(val value: Long)
|
||||
annotation class CharAnno(val value: Char)
|
||||
annotation class BooleanAnno(val value: Boolean)
|
||||
annotation class FloatAnno(val value: Float)
|
||||
annotation class DoubleAnno(val value: Double)
|
||||
|
||||
IntAnno(42.toInt())
|
||||
ShortAnno(42.toShort())
|
||||
ByteAnno(42.toByte())
|
||||
LongAnno(42.toLong())
|
||||
CharAnno('A')
|
||||
BooleanAnno(false)
|
||||
FloatAnno(3.14.toFloat())
|
||||
DoubleAnno(3.14)
|
||||
class Class
|
||||
@@ -0,0 +1,53 @@
|
||||
package test
|
||||
|
||||
internal final annotation class BooleanAnno : jet.Annotation {
|
||||
/*primary*/ public constructor BooleanAnno(/*0*/ value: jet.Boolean)
|
||||
internal final val value: jet.Boolean
|
||||
internal final fun <get-value>(): jet.Boolean
|
||||
}
|
||||
|
||||
internal final annotation class ByteAnno : jet.Annotation {
|
||||
/*primary*/ public constructor ByteAnno(/*0*/ value: jet.Byte)
|
||||
internal final val value: jet.Byte
|
||||
internal final fun <get-value>(): jet.Byte
|
||||
}
|
||||
|
||||
internal final annotation class CharAnno : jet.Annotation {
|
||||
/*primary*/ public constructor CharAnno(/*0*/ value: jet.Char)
|
||||
internal final val value: jet.Char
|
||||
internal final fun <get-value>(): jet.Char
|
||||
}
|
||||
|
||||
test.IntAnno(value = 42.toInt(): jet.Int) test.ShortAnno(value = 42.toShort(): jet.Short) test.ByteAnno(value = 42.toByte(): jet.Byte) test.LongAnno(value = 42.toLong(): jet.Long) test.CharAnno(value = #65(A): jet.Char) test.BooleanAnno(value = false: jet.Boolean) test.FloatAnno(value = 3.14.toFloat(): jet.Float) test.DoubleAnno(value = 3.14.toDouble(): jet.Double) internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
}
|
||||
|
||||
internal final annotation class DoubleAnno : jet.Annotation {
|
||||
/*primary*/ public constructor DoubleAnno(/*0*/ value: jet.Double)
|
||||
internal final val value: jet.Double
|
||||
internal final fun <get-value>(): jet.Double
|
||||
}
|
||||
|
||||
internal final annotation class FloatAnno : jet.Annotation {
|
||||
/*primary*/ public constructor FloatAnno(/*0*/ value: jet.Float)
|
||||
internal final val value: jet.Float
|
||||
internal final fun <get-value>(): jet.Float
|
||||
}
|
||||
|
||||
internal final annotation class IntAnno : jet.Annotation {
|
||||
/*primary*/ public constructor IntAnno(/*0*/ value: jet.Int)
|
||||
internal final val value: jet.Int
|
||||
internal final fun <get-value>(): jet.Int
|
||||
}
|
||||
|
||||
internal final annotation class LongAnno : jet.Annotation {
|
||||
/*primary*/ public constructor LongAnno(/*0*/ value: jet.Long)
|
||||
internal final val value: jet.Long
|
||||
internal final fun <get-value>(): jet.Long
|
||||
}
|
||||
|
||||
internal final annotation class ShortAnno : jet.Annotation {
|
||||
/*primary*/ public constructor ShortAnno(/*0*/ value: jet.Short)
|
||||
internal final val value: jet.Short
|
||||
internal final fun <get-value>(): jet.Short
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
annotation class Anno(val int: Int, val string: String, val double: Double)
|
||||
|
||||
Anno(42.toInt(), "OK", 3.14.toDouble()) class Class
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
package test
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno(/*0*/ int: jet.Int, /*1*/ string: jet.String, /*2*/ double: jet.Double)
|
||||
internal final val double: jet.Double
|
||||
internal final fun <get-double>(): jet.Double
|
||||
internal final val int: jet.Int
|
||||
internal final fun <get-int>(): jet.Int
|
||||
internal final val string: jet.String
|
||||
internal final fun <get-string>(): jet.String
|
||||
}
|
||||
|
||||
test.Anno(double = 3.14.toDouble(): jet.Double, int = 42.toInt(): jet.Int, string = "OK": jet.String) internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
}
|
||||
+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()
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
annotation class A
|
||||
annotation class B
|
||||
|
||||
class Class([A] val x: Int, [B] y: String)
|
||||
@@ -0,0 +1,15 @@
|
||||
package test
|
||||
|
||||
internal final annotation class A : jet.Annotation {
|
||||
/*primary*/ public constructor A()
|
||||
}
|
||||
|
||||
internal final annotation class B : jet.Annotation {
|
||||
/*primary*/ public constructor B()
|
||||
}
|
||||
|
||||
internal final class Class {
|
||||
/*primary*/ public constructor Class(/*0*/ test.A() x: jet.Int, /*1*/ test.B() y: jet.String)
|
||||
test.A() internal final val x: jet.Int
|
||||
internal final fun <get-x>(): jet.Int
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
annotation class A
|
||||
annotation class B
|
||||
|
||||
enum class E([A] val x: String, [B] val y: Int)
|
||||
@@ -0,0 +1,25 @@
|
||||
package test
|
||||
|
||||
internal final annotation class A : jet.Annotation {
|
||||
/*primary*/ public constructor A()
|
||||
}
|
||||
|
||||
internal final annotation class B : jet.Annotation {
|
||||
/*primary*/ public constructor B()
|
||||
}
|
||||
|
||||
internal final enum class E : jet.Enum<test.E> {
|
||||
/*primary*/ private constructor E(/*0*/ test.A() x: jet.String, /*1*/ test.B() y: jet.Int)
|
||||
test.A() internal final val x: jet.String
|
||||
internal final fun <get-x>(): jet.String
|
||||
test.B() internal final val y: jet.Int
|
||||
internal final fun <get-y>(): jet.Int
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
|
||||
public class object <class-object-for-E> {
|
||||
/*primary*/ private constructor <class-object-for-E>()
|
||||
public final /*synthesized*/ fun valueOf(/*0*/ value: jet.String): test.E
|
||||
public final /*synthesized*/ fun values(): jet.Array<test.E>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
annotation class A
|
||||
|
||||
fun Int.foo([A] x: Int) {}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
internal fun jet.Int.foo(/*0*/ test.A() x: jet.Int): jet.Unit
|
||||
|
||||
internal final annotation class A : jet.Annotation {
|
||||
/*primary*/ public constructor A()
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
class Class {
|
||||
fun String.foo([Anno] x: Int) = 42
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
package test
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
|
||||
internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
internal final fun jet.String.foo(/*0*/ test.Anno() x: jet.Int): jet.Int
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
annotation class A
|
||||
|
||||
class Class {
|
||||
var Int.foo: Int
|
||||
get() = this
|
||||
set([A] value) {}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
package test
|
||||
|
||||
internal final annotation class A : jet.Annotation {
|
||||
/*primary*/ public constructor A()
|
||||
}
|
||||
|
||||
internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
internal final var jet.Int.foo: jet.Int
|
||||
internal final fun jet.Int.<get-foo>(): jet.Int
|
||||
internal final fun jet.Int.<set-foo>(/*0*/ test.A() value: jet.Int): jet.Unit
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
class Class {
|
||||
fun foo([Anno] x: String) {}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package test
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
|
||||
internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
internal final fun foo(/*0*/ test.Anno() x: jet.String): jet.Unit
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
trait Trait {
|
||||
fun foo([Anno] x: String) = 42
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
|
||||
internal trait Trait {
|
||||
internal open fun foo(/*0*/ test.Anno() x: jet.String): jet.Int
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package test
|
||||
|
||||
annotation class A
|
||||
annotation class B
|
||||
annotation class C
|
||||
annotation class D
|
||||
|
||||
fun foo([A B] x: Int, [A C] y: Double, [B C D] z: String) {}
|
||||
|
||||
fun bar([A B C D] x: Int) {}
|
||||
@@ -0,0 +1,20 @@
|
||||
package test
|
||||
|
||||
internal fun bar(/*0*/ test.A() test.B() test.C() test.D() x: jet.Int): jet.Unit
|
||||
internal fun foo(/*0*/ test.A() test.B() x: jet.Int, /*1*/ test.A() test.C() y: jet.Double, /*2*/ test.B() test.C() test.D() z: jet.String): jet.Unit
|
||||
|
||||
internal final annotation class A : jet.Annotation {
|
||||
/*primary*/ public constructor A()
|
||||
}
|
||||
|
||||
internal final annotation class B : jet.Annotation {
|
||||
/*primary*/ public constructor B()
|
||||
}
|
||||
|
||||
internal final annotation class C : jet.Annotation {
|
||||
/*primary*/ public constructor C()
|
||||
}
|
||||
|
||||
internal final annotation class D : jet.Annotation {
|
||||
/*primary*/ public constructor D()
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
annotation class A
|
||||
|
||||
class Class {
|
||||
var foo: Int
|
||||
get() = 42
|
||||
set([A] value) {}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
package test
|
||||
|
||||
internal final annotation class A : jet.Annotation {
|
||||
/*primary*/ public constructor A()
|
||||
}
|
||||
|
||||
internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
internal final var foo: jet.Int
|
||||
internal final fun <get-foo>(): jet.Int
|
||||
internal final fun <set-foo>(/*0*/ test.A() value: jet.Int): jet.Unit
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
fun foo([Anno] x: Int) {}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
internal fun foo(/*0*/ test.Anno() x: jet.Int): jet.Unit
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
annotation class A
|
||||
annotation class B
|
||||
|
||||
var foo: Int
|
||||
get() = 42
|
||||
set([A B] value) {}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package test
|
||||
|
||||
internal var foo: jet.Int
|
||||
internal fun <get-foo>(): jet.Int
|
||||
internal fun <set-foo>(/*0*/ test.A() test.B() value: jet.Int): jet.Unit
|
||||
|
||||
internal final annotation class A : jet.Annotation {
|
||||
/*primary*/ public constructor A()
|
||||
}
|
||||
|
||||
internal final annotation class B : jet.Annotation {
|
||||
/*primary*/ public constructor B()
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
class Class {
|
||||
[Anno] val property: Int
|
||||
get() = 42
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
|
||||
internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
test.Anno() internal final val property: jet.Int
|
||||
internal final fun <get-property>(): jet.Int
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
class Class {
|
||||
class object {
|
||||
[Anno] val property: Int
|
||||
get() = 42
|
||||
}
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
package test
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
|
||||
internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
|
||||
internal class object <class-object-for-Class> {
|
||||
/*primary*/ private constructor <class-object-for-Class>()
|
||||
test.Anno() internal final val property: jet.Int
|
||||
internal final fun <get-property>(): jet.Int
|
||||
}
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
package test
|
||||
|
||||
annotation class IntAnno
|
||||
annotation class StringAnno
|
||||
annotation class DoubleAnno
|
||||
|
||||
class Class {
|
||||
[IntAnno] val Int.extension: Int
|
||||
get() = this
|
||||
|
||||
[StringAnno] val String.extension: String
|
||||
get() = this
|
||||
|
||||
[DoubleAnno] val Double.extension: Int
|
||||
get() = 42
|
||||
}
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
package test
|
||||
|
||||
internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
test.DoubleAnno() internal final val jet.Double.extension: jet.Int
|
||||
internal final fun jet.Double.<get-extension>(): jet.Int
|
||||
test.IntAnno() internal final val jet.Int.extension: jet.Int
|
||||
internal final fun jet.Int.<get-extension>(): jet.Int
|
||||
test.StringAnno() internal final val jet.String.extension: jet.String
|
||||
internal final fun jet.String.<get-extension>(): jet.String
|
||||
}
|
||||
|
||||
internal final annotation class DoubleAnno : jet.Annotation {
|
||||
/*primary*/ public constructor DoubleAnno()
|
||||
}
|
||||
|
||||
internal final annotation class IntAnno : jet.Annotation {
|
||||
/*primary*/ public constructor IntAnno()
|
||||
}
|
||||
|
||||
internal final annotation class StringAnno : jet.Annotation {
|
||||
/*primary*/ public constructor StringAnno()
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
package test
|
||||
|
||||
annotation class IntAnno
|
||||
annotation class StringAnno
|
||||
annotation class DoubleAnno
|
||||
|
||||
[IntAnno] val Int.extension: Int
|
||||
get() = this
|
||||
|
||||
[StringAnno] val String.extension: String
|
||||
get() = this
|
||||
|
||||
[DoubleAnno] val Double.extension: Int
|
||||
get() = 42
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
package test
|
||||
|
||||
test.DoubleAnno() internal val jet.Double.extension: jet.Int
|
||||
internal fun jet.Double.<get-extension>(): jet.Int
|
||||
test.IntAnno() internal val jet.Int.extension: jet.Int
|
||||
internal fun jet.Int.<get-extension>(): jet.Int
|
||||
test.StringAnno() internal val jet.String.extension: jet.String
|
||||
internal fun jet.String.<get-extension>(): jet.String
|
||||
|
||||
internal final annotation class DoubleAnno : jet.Annotation {
|
||||
/*primary*/ public constructor DoubleAnno()
|
||||
}
|
||||
|
||||
internal final annotation class IntAnno : jet.Annotation {
|
||||
/*primary*/ public constructor IntAnno()
|
||||
}
|
||||
|
||||
internal final annotation class StringAnno : jet.Annotation {
|
||||
/*primary*/ public constructor StringAnno()
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
class Class {
|
||||
trait Trait {
|
||||
[Anno] val property: Int
|
||||
}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
package test
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
|
||||
internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
|
||||
internal trait Trait {
|
||||
test.Anno() internal abstract val property: jet.Int
|
||||
internal abstract fun <get-property>(): jet.Int
|
||||
}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
[Anno] val property: Int
|
||||
get() = 42
|
||||
+8
@@ -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()
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
trait Trait {
|
||||
[Anno] val property: Int
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
package test
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
|
||||
internal trait Trait {
|
||||
test.Anno() internal abstract val property: jet.Int
|
||||
internal abstract fun <get-property>(): jet.Int
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
trait Trait {
|
||||
class object {
|
||||
[Anno] val property: Int
|
||||
get() = 42
|
||||
}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
package test
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
/*primary*/ public constructor Anno()
|
||||
}
|
||||
|
||||
internal trait Trait {
|
||||
|
||||
internal class object <class-object-for-Trait> {
|
||||
/*primary*/ private constructor <class-object-for-Trait>()
|
||||
test.Anno() internal final val property: jet.Int
|
||||
internal final fun <get-property>(): jet.Int
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
class Ramification
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
internal final class Ramification {
|
||||
/*primary*/ public constructor Ramification()
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
class Wine<in T>
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
internal final class Wine</*0*/ in T> {
|
||||
/*primary*/ public constructor Wine</*0*/ in T>()
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
class Outer {
|
||||
inner class Inner {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
internal final class Outer {
|
||||
/*primary*/ public constructor Outer()
|
||||
|
||||
internal final inner class Inner {
|
||||
/*primary*/ public constructor Inner()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
package test
|
||||
|
||||
class ConstructorTypeParamClassObjectTypeConflict<test> {
|
||||
class object {
|
||||
trait test
|
||||
}
|
||||
|
||||
val some: test? = null
|
||||
}
|
||||
|
||||
class ConstructorTypeParamClassObjectConflict<test> {
|
||||
class object {
|
||||
val test = 12
|
||||
}
|
||||
|
||||
val some = test
|
||||
}
|
||||
|
||||
class TestConstructorParamClassObjectConflict(test: String) {
|
||||
class object {
|
||||
val test = 12
|
||||
}
|
||||
|
||||
val some = test
|
||||
}
|
||||
|
||||
|
||||
class TestConstructorValClassObjectConflict(val test: String) {
|
||||
class object {
|
||||
val test = 12
|
||||
}
|
||||
|
||||
val some = test
|
||||
}
|
||||
|
||||
class TestClassObjectAndClassConflict {
|
||||
class object {
|
||||
val bla = 12
|
||||
}
|
||||
|
||||
val bla = "More"
|
||||
|
||||
val some = bla
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
package test
|
||||
|
||||
internal final class ConstructorTypeParamClassObjectConflict</*0*/ test> {
|
||||
/*primary*/ public constructor ConstructorTypeParamClassObjectConflict</*0*/ test>()
|
||||
internal final val some: jet.Int
|
||||
internal final fun <get-some>(): jet.Int
|
||||
|
||||
internal class object <class-object-for-ConstructorTypeParamClassObjectConflict> {
|
||||
/*primary*/ private constructor <class-object-for-ConstructorTypeParamClassObjectConflict>()
|
||||
internal final val test: jet.Int
|
||||
internal final fun <get-test>(): jet.Int
|
||||
}
|
||||
}
|
||||
|
||||
internal final class ConstructorTypeParamClassObjectTypeConflict</*0*/ test> {
|
||||
/*primary*/ public constructor ConstructorTypeParamClassObjectTypeConflict</*0*/ test>()
|
||||
internal final val some: test?
|
||||
internal final fun <get-some>(): test?
|
||||
|
||||
internal class object <class-object-for-ConstructorTypeParamClassObjectTypeConflict> {
|
||||
/*primary*/ private constructor <class-object-for-ConstructorTypeParamClassObjectTypeConflict>()
|
||||
|
||||
internal trait test {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
internal final class TestClassObjectAndClassConflict {
|
||||
/*primary*/ public constructor TestClassObjectAndClassConflict()
|
||||
internal final val bla: jet.String
|
||||
internal final fun <get-bla>(): jet.String
|
||||
internal final val some: jet.String
|
||||
internal final fun <get-some>(): jet.String
|
||||
|
||||
internal class object <class-object-for-TestClassObjectAndClassConflict> {
|
||||
/*primary*/ private constructor <class-object-for-TestClassObjectAndClassConflict>()
|
||||
internal final val bla: jet.Int
|
||||
internal final fun <get-bla>(): jet.Int
|
||||
}
|
||||
}
|
||||
|
||||
internal final class TestConstructorParamClassObjectConflict {
|
||||
/*primary*/ public constructor TestConstructorParamClassObjectConflict(/*0*/ test: jet.String)
|
||||
internal final val some: jet.String
|
||||
internal final fun <get-some>(): jet.String
|
||||
|
||||
internal class object <class-object-for-TestConstructorParamClassObjectConflict> {
|
||||
/*primary*/ private constructor <class-object-for-TestConstructorParamClassObjectConflict>()
|
||||
internal final val test: jet.Int
|
||||
internal final fun <get-test>(): jet.Int
|
||||
}
|
||||
}
|
||||
|
||||
internal final class TestConstructorValClassObjectConflict {
|
||||
/*primary*/ public constructor TestConstructorValClassObjectConflict(/*0*/ test: jet.String)
|
||||
internal final val some: jet.String
|
||||
internal final fun <get-some>(): jet.String
|
||||
internal final val test: jet.String
|
||||
internal final fun <get-test>(): jet.String
|
||||
|
||||
internal class object <class-object-for-TestConstructorValClassObjectConflict> {
|
||||
/*primary*/ private constructor <class-object-for-TestConstructorValClassObjectConflict>()
|
||||
internal final val test: jet.Int
|
||||
internal final fun <get-test>(): jet.Int
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
class Juice<in T>
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
internal final class Juice</*0*/ in T> {
|
||||
/*primary*/ public constructor Juice</*0*/ in T>()
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
class Beer<T>
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
internal final class Beer</*0*/ T> {
|
||||
/*primary*/ public constructor Beer</*0*/ T>()
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
class ClassParamReferencesParam<A, B : A>
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
internal final class ClassParamReferencesParam</*0*/ A, /*1*/ B : A> {
|
||||
/*primary*/ public constructor ClassParamReferencesParam</*0*/ A, /*1*/ B : A>()
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
class ClassParamReferencesParam<A, in B : A>
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
internal final class ClassParamReferencesParam</*0*/ A, /*1*/ in B : A> {
|
||||
/*primary*/ public constructor ClassParamReferencesParam</*0*/ A, /*1*/ in B : A>()
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user