Don't report error on member that overrides open member from final class
#KT-14598 Fixed
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
// "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() {}
|
||||
|
||||
Reference in New Issue
Block a user