d08b18f5f8
Converted from the relevant intention Reported cases: one-liners, whens Also, more exact caret detection in local inspection tests
9 lines
178 B
Kotlin
Vendored
9 lines
178 B
Kotlin
Vendored
// "Make A.foo open" "false"
|
|
// ERROR: This type is final, so it cannot be inherited from
|
|
class A() {
|
|
open fun foo() {}
|
|
}
|
|
|
|
class B : A() {
|
|
override<caret> fun foo() { }
|
|
} |