Generate Secondary Constructor: Forbid inside of class with explicit primary constructor
This commit is contained in:
@@ -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() {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user