c313887641
1. ConstantValue * just holds some value and its type * implementations for concrete constants 2. CompileTimeConstant * is only produced by ConstantExpressionEvaluator * has additional flags (canBeUsedInAnnotation etc) * has two implementations TypedCompileTimeConstant containing a constant value and IntegerValueConstant which does not have exact type * can be converted to ConstantValue Adjustt usages to use ConstantValue if flags are not needed Add tests for some uncovered cases
32 lines
1.4 KiB
Plaintext
Vendored
32 lines
1.4 KiB
Plaintext
Vendored
package
|
|
|
|
my() internal fun foo(): kotlin.Unit
|
|
my1() internal fun foo2(): kotlin.Unit
|
|
my1(i = 2) internal fun foo3(): kotlin.Unit
|
|
my2() internal fun foo4(): kotlin.Unit
|
|
my2() internal fun foo41(): kotlin.Unit
|
|
my2(i = 2) internal fun foo42(): kotlin.Unit
|
|
|
|
kotlin.annotation.annotation() internal final class my : kotlin.Annotation {
|
|
public constructor my()
|
|
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
|
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
|
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
|
}
|
|
|
|
kotlin.annotation.annotation() internal final class my1 : kotlin.Annotation {
|
|
public constructor my1(/*0*/ i: kotlin.Int)
|
|
internal final val i: kotlin.Int
|
|
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
|
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
|
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
|
}
|
|
|
|
kotlin.annotation.annotation() internal final class my2 : kotlin.Annotation {
|
|
public constructor my2(/*0*/ i: kotlin.Int = ...)
|
|
internal final val i: kotlin.Int
|
|
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
|
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
|
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
|
}
|