Move statement: enable expression ended with semicolon (KT-8581)

#KT-8581 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-07-16 21:52:42 +09:00
committed by Nikolay Krasko
parent 5259af157a
commit 7b8abc5457
6 changed files with 35 additions and 1 deletions
@@ -0,0 +1,5 @@
// MOVE: up
fun x() {
println("a")
<caret>println("b");
}
@@ -0,0 +1,5 @@
// MOVE: up
fun x() {
<caret>println("b");
println("a")
}
@@ -0,0 +1,5 @@
// MOVE: down
fun x() {
<caret>println("b");
println("a")
}
@@ -0,0 +1,5 @@
// MOVE: down
fun x() {
println("a")
<caret>println("b");
}