Do not suggest "Make overridden member open" for already open ones
So #KT-18148 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
cbccf932a7
commit
0dced8d29c
@@ -0,0 +1,11 @@
|
||||
// "Make A.foo open" "false"
|
||||
// ACTION: Convert to expression body
|
||||
// ERROR: 'foo' in 'A' is final and cannot be overridden
|
||||
// ERROR: This type is final, so it cannot be inherited from
|
||||
class A() {
|
||||
open fun foo() {}
|
||||
}
|
||||
|
||||
class B : A() {
|
||||
override<caret> fun foo() { }
|
||||
}
|
||||
Reference in New Issue
Block a user