Implement Intention + Inspection to remove empty secondary constructor body #KT-14326 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
495dd3641c
commit
8a73a1da2c
@@ -0,0 +1 @@
|
||||
org.jetbrains.kotlin.idea.intentions.RemoveEmptySecondaryConstructorBodyIntention
|
||||
@@ -0,0 +1,7 @@
|
||||
// IS_APPLICABLE: false
|
||||
|
||||
class Foo() {
|
||||
constructor(a: Int) : this() <caret>{
|
||||
//comment
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
class Foo() {
|
||||
constructor(a: Int) : this() <caret>{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
class Foo() {
|
||||
constructor(a: Int) : this()<caret>
|
||||
}
|
||||
Reference in New Issue
Block a user