Convert 'simplify when' from intention to inspection
Related to KT-20492
This commit is contained in:
-1
@@ -1 +0,0 @@
|
||||
val foo = "foo"
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
val foo = when {
|
||||
true -> "foo"
|
||||
false -> "bar"
|
||||
else -> "baz"
|
||||
}
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention simplifies a when expression that has branch conditions which are true or false
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user