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,11 @@
|
||||
// "Change to short enum entry super constructor in the whole project" "true"
|
||||
|
||||
annotation class My
|
||||
annotation class Your
|
||||
annotation class His
|
||||
|
||||
enum class MyEnum(val i: Int) {
|
||||
@My FIRST: MyEnum(1)<caret>,
|
||||
@My @Your SECOND: MyEnum(2),
|
||||
@Your @His THIRD: MyEnum(3)
|
||||
}
|
||||
Reference in New Issue
Block a user