Add quick fix for adding @JvmDefault annotation
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
// "Add '@JvmDefault' annotation" "true"
|
||||
// JVM_TARGET: 1.8
|
||||
// COMPILER_ARGUMENTS: -Xenable-jvm-default
|
||||
// WITH_RUNTIME
|
||||
interface Foo {
|
||||
@JvmDefault
|
||||
fun foo() {
|
||||
|
||||
}
|
||||
}
|
||||
interface Bar: Foo {
|
||||
|
||||
<caret>override fun foo() {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user