mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
15 lines
280 B
Plaintext
Vendored
15 lines
280 B
Plaintext
Vendored
// ACTION_CLASS: org.jetbrains.kotlin.idea.actions.generate.KotlinGenerateSecondaryConstructorAction
|
|
class Foo<U> : Base<U, Int> {
|
|
val x = 1
|
|
|
|
<caret>constructor(x: U) : super(x)
|
|
constructor(x: U, y: Int?) : super(x, y)
|
|
|
|
fun foo() {
|
|
|
|
}
|
|
|
|
fun bar() {
|
|
|
|
}
|
|
} |