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:
Mikhail Glukhikh
2015-05-18 15:41:08 +03:00
parent 62e9c31987
commit 6342b98592
10 changed files with 135 additions and 2 deletions
@@ -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>
}