Fixed availability of "Make abstract" and "Implement members" quickfixes
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
// "Make 'A' abstract" "false"
|
||||
// ERROR: <html>Class 'X' must override <b>public</b> <b>open</b> <b>fun</b> foo(): kotlin.Unit <i>defined in</i> X<br />because it inherits many implementations of it</html>
|
||||
// ACTION: Create Test
|
||||
// ACTION: Make internal
|
||||
// ACTION: Make private
|
||||
// ACTION: Move 'X' to separate file
|
||||
|
||||
interface D {
|
||||
fun foo()
|
||||
}
|
||||
|
||||
interface E {
|
||||
fun foo() {}
|
||||
}
|
||||
|
||||
object Impl : D, E {
|
||||
override fun foo() {}
|
||||
}
|
||||
|
||||
<caret>class X : D by Impl, E by Impl {}
|
||||
Reference in New Issue
Block a user