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,16 @@
|
||||
// "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)<caret>,
|
||||
/**
|
||||
* The third
|
||||
*/
|
||||
THIRD: MyEnum(3)
|
||||
}
|
||||
Reference in New Issue
Block a user