Use type from compile time value for prefix expression
This commit is contained in:
@@ -7,7 +7,7 @@ internal final annotation class A : jet.Annotation {
|
||||
internal final val c: jet.String
|
||||
}
|
||||
|
||||
test.A(a = 12.toInt(): jet.Int, c = "Hello": jet.String) internal object SomeObject {
|
||||
test.A(a = IntegerValueType(12): IntegerValueType(12), c = "Hello": jet.String) internal object SomeObject {
|
||||
/*primary*/ private constructor SomeObject()
|
||||
|
||||
public class object <class-object-for-SomeObject> : test.SomeObject {
|
||||
|
||||
@@ -6,7 +6,7 @@ internal final annotation class BadAnnotation : jet.Annotation {
|
||||
/*primary*/ public constructor BadAnnotation(/*0*/ s: jet.String)
|
||||
}
|
||||
|
||||
test.BadAnnotation(s = 1.toInt(): jet.Int) internal object SomeObject {
|
||||
test.BadAnnotation(s = IntegerValueType(1): IntegerValueType(1)) internal object SomeObject {
|
||||
/*primary*/ private constructor SomeObject()
|
||||
|
||||
public class object <class-object-for-SomeObject> : test.SomeObject {
|
||||
|
||||
Reference in New Issue
Block a user