Inspection "MoveVariableDeclarationIntoWhen" should inline variable declaration
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
fun foo() {
|
||||
|
||||
// comment
|
||||
when (val a = 1) {
|
||||
when (1) {
|
||||
1 -> {
|
||||
}
|
||||
else -> {
|
||||
|
||||
Reference in New Issue
Block a user