Fix invalid resources placement

For ExpandBooleanExpressionIntention and RedundantAsSequence intention
This commit is contained in:
Igor Yakovlev
2020-06-03 14:01:22 +03:00
parent f2d0d8b422
commit ebae6332aa
4 changed files with 0 additions and 0 deletions
@@ -0,0 +1,7 @@
fun f(b: Boolean): Boolean {
return if (b) {
true
} else {
false
}
}
@@ -0,0 +1,3 @@
fun f(b: Boolean): Boolean {
return b
}
@@ -0,0 +1,5 @@
<html>
<body>
This intention replaces a <b>boolean</b> expression with the equivalent <b>if-else</b> expression.
</body>
</html>