Remove MergeWhenIntention

Relates to #KT-31502
This commit is contained in:
Dmitry Gridin
2019-05-27 19:21:40 +07:00
parent 41daf99346
commit 2310826ec9
35 changed files with 0 additions and 850 deletions
@@ -1,14 +0,0 @@
when (n) {
1 -> {
res = "one"
println("A")
}
2 -> {
res = "two"
println("B")
}
else -> {
res = "unknown"
println("C")
}
}
@@ -1,11 +0,0 @@
when (n) {
1 -> res = "one"
2 -> res = "two"
else -> res = "unknown"
}
when (n) {
1 -> println("A")
2 -> println("B")
else -> println("C")
}
@@ -1,5 +0,0 @@
<html>
<body>
This intention merges two successive <b>when</b> expressions with equivalent branches into a single <b>when</b>.
</body>
</html>