Write version requirements for @JvmField in interface companion
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
interface Base {
|
||||
companion object {
|
||||
@Suppress("INAPPLICABLE_JVM_FIELD")
|
||||
@JvmField
|
||||
val foo = object : Base {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user