Write version requirements for @JvmField in interface companion

This commit is contained in:
Mikhael Bogdanov
2018-06-27 08:43:32 +02:00
parent b412c90cef
commit e00b7a993f
8 changed files with 49 additions and 9 deletions
@@ -0,0 +1,9 @@
package test
interface Base {
companion object {
@Suppress("INAPPLICABLE_JVM_FIELD")
@JvmField
val foo = object : Base {}
}
}