6ed7ac5285
#KT-7231 Fixed
13 lines
331 B
Kotlin
Vendored
13 lines
331 B
Kotlin
Vendored
open class A(x: Int) {
|
|
protected constructor() : this(1) {}
|
|
private constructor(p: String) : this(2) {}
|
|
}
|
|
|
|
class B : A {
|
|
constructor() : super(<caret>)
|
|
}
|
|
|
|
/*
|
|
Text: (<highlight>x: Int</highlight>), Disabled: false, Strikeout: false, Green: false
|
|
Text: (<no parameters>), Disabled: false, Strikeout: false, Green: true
|
|
*/ |