Generate Secondary Constructor: Fix test data loading. Add test with non-generic Java superclass

This commit is contained in:
Alexey Sedunov
2015-10-20 15:39:40 +03:00
committed by Alexey Sedunov
parent 3c07bc3df7
commit 07259fa090
8 changed files with 51 additions and 8 deletions
@@ -0,0 +1,16 @@
// 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() {
}
}