Override/Implement: Do not generate bodies for header class members

#KT-15659 Fixed
This commit is contained in:
Alexey Sedunov
2017-08-15 17:32:50 +03:00
parent 6c3620f481
commit 6f8503a178
10 changed files with 39 additions and 14 deletions

View File

@@ -0,0 +1,8 @@
// "Implement members" "true"
// DISABLE-ERRORS
interface I {
fun foo()
}
header class <caret>Bar : I

View File

@@ -0,0 +1,10 @@
// "Implement members" "true"
// DISABLE-ERRORS
interface I {
fun foo()
}
header class <caret>Bar : I {
override fun foo()
}