Fixed a quick fix for enum entry short super constructor syntax (situation with a preceding comment / annotation). Four extra tests. isAvailable().
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// "Change to short enum entry super constructor in the whole project" "true"
|
||||
|
||||
enum class MyEnum(val i: Int) {
|
||||
// The
|
||||
// first
|
||||
FIRST: MyEnum(1),
|
||||
// The
|
||||
// second
|
||||
SECOND: MyEnum(2),
|
||||
// The
|
||||
// third
|
||||
THIRD: MyEnum(3)<caret>
|
||||
}
|
||||
Reference in New Issue
Block a user