b7eded6e48
Intention to change final class constructor visibility to 'protected' was erroneous. This commit removes it.
19 lines
441 B
Kotlin
Vendored
19 lines
441 B
Kotlin
Vendored
// "Specify override for 'foo(): Unit' explicitly" "false"
|
|
// ACTION: Create test
|
|
// ACTION: Make primary constructor internal
|
|
// ACTION: Make primary constructor private
|
|
// ACTION: Enable a trailing comma by default in the formatter
|
|
// ACTION: Extract 'C' from current file
|
|
// ACTION: Rename file to C.kt
|
|
|
|
interface A {
|
|
fun foo()
|
|
}
|
|
|
|
class W(val a: A)
|
|
|
|
open class B : A {
|
|
override fun foo() {}
|
|
}
|
|
|
|
class C<caret>(w: W) : B(), A by w.a |