"Create enum constant" quick fix: add before semicolon

#KT-33718 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-09-05 20:16:01 +09:00
committed by Dmitry Gridin
parent 30c41e6720
commit 0497f0cba4
4 changed files with 40 additions and 2 deletions
@@ -0,0 +1,13 @@
// "Create enum constant 'D'" "true"
enum class Test {
A,
B,
C;
fun test() {
}
}
fun main() {
Test.D<caret>
}
@@ -0,0 +1,14 @@
// "Create enum constant 'D'" "true"
enum class Test {
A,
B,
C,
<caret>D;
fun test() {
}
}
fun main() {
Test.D
}