Remove Android api diagnostic error on Kotlin interface default methods
They don't require java 8 or any other special support to work on Android #KT-18059 Fixed
This commit is contained in:
+7
@@ -476,4 +476,11 @@ fun testJava8() {
|
||||
|
||||
// Ok, Kotlin
|
||||
mapOf(1 to 2).forEach { (key, value) -> key + value }
|
||||
}
|
||||
|
||||
interface WithDefault {
|
||||
// Should be ok
|
||||
fun methodWithBody() {
|
||||
return
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user