Add Merge ifs intention (#975)

Fixes #KT-9912
This commit is contained in:
Kirill Rakhman
2017-01-27 14:20:11 +01:00
committed by Dmitry Jemerov
parent 456037a30d
commit 956094e062
16 changed files with 179 additions and 10 deletions
@@ -0,0 +1,3 @@
if (a && b) {
println("a and b")
}
@@ -0,0 +1,5 @@
if (a) {
if (b) {
println("a and b")
}
}
@@ -0,0 +1,5 @@
<html>
<body>
This intention merges two nested 'if's without 'else' branches into a single one.
</body>
</html>