Kapt: Never mark static methods 'default' (KT-42915)

This commit is contained in:
Yan Zhulanow
2020-10-28 13:02:14 +09:00
parent 09e1bed5c9
commit eb9b5da82b
4 changed files with 40 additions and 1 deletions
@@ -11,3 +11,10 @@ class JvmStaticTest {
const val three: Byte = 3.toByte()
const val d: Char = 'D'
}
interface FooComponent {
companion object {
@JvmStatic
fun create(context: String): String = "foo"
}
}