Generate field for const-val with same visibility as desciptor
Also add test checking that constant static final fields generated for them
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
@file:JvmName("ABC")
|
||||
package test;
|
||||
|
||||
public const val TOP_LEVEL = "O"
|
||||
|
||||
public object A {
|
||||
public const val OBJECT = "K"
|
||||
}
|
||||
|
||||
public class B {
|
||||
companion object {
|
||||
public const val COMPANION = "56"
|
||||
}
|
||||
}
|
||||
|
||||
annotation class Ann(val value: String)
|
||||
Reference in New Issue
Block a user