Load static final fields of appropriate types from Java as const
This commit is contained in:
@@ -11,5 +11,5 @@ public open class AnnotatedField {
|
||||
}
|
||||
|
||||
// Static members
|
||||
@test.AnnotatedField.Anno(value = "static") public final val x: kotlin.Int = 0
|
||||
@test.AnnotatedField.Anno(value = "static") public const final val x: kotlin.Int = 0
|
||||
}
|
||||
|
||||
+1
-1
@@ -13,5 +13,5 @@ public interface StringConstantInParam {
|
||||
}
|
||||
|
||||
// Static members
|
||||
public final val HEL: kotlin.String = "hel"
|
||||
public const final val HEL: kotlin.String = "hel"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user