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
@@ -1,10 +1,10 @@
// ACTION_CLASS: org.jetbrains.kotlin.idea.actions.generate.KotlinGenerateSecondaryConstructorAction
class Foo<U> : Base<U, Int> {
class Foo : Base {
val x = 1
<caret>constructor(x: U) : super(x)
<caret>constructor(n: Int) : super(n)
constructor(x: U, y: Int?) : super(x, y)
constructor(a: Int, b: Int) : super(a, b)
fun foo() {