Generate Secondary Constructor: Forbid inside of class with explicit primary constructor

This commit is contained in:
Alexey Sedunov
2015-10-23 14:28:16 +03:00
parent 22393d4cd2
commit 89132b3f66
4 changed files with 14 additions and 31 deletions
@@ -0,0 +1,13 @@
// ACTION_CLASS: org.jetbrains.kotlin.idea.actions.generate.KotlinGenerateSecondaryConstructorAction
// NOT_APPLICABLE
class Foo(x: Int) {<caret>
val x: Int
fun foo() {
}
fun bar() {
}
}