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:
Vyacheslav Gerasimov
2017-05-24 19:15:15 +03:00
parent 286f82a5c5
commit ca124d1e36
2 changed files with 7 additions and 18 deletions
+7
View File
@@ -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
}
}