Add "Remove redundant label" quick fix for REDUNDANT_LABEL_WARNING
#KT-26431 Fixed
This commit is contained in:
committed by
Dmitry Gridin
parent
18df5d9db0
commit
b2d2165342
@@ -0,0 +1,6 @@
|
||||
// "Remove redundant label" "true"
|
||||
fun foo() {
|
||||
<caret>L1@ val x = L2@ bar()
|
||||
}
|
||||
|
||||
fun bar() {}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Remove redundant label" "true"
|
||||
fun foo() {
|
||||
val x = L2@ bar()
|
||||
}
|
||||
|
||||
fun bar() {}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Remove redundant label" "true"
|
||||
fun foo() {
|
||||
L1@ val x = L2@<caret> bar()
|
||||
}
|
||||
|
||||
fun bar() {}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Remove redundant label" "true"
|
||||
fun foo() {
|
||||
L1@ val x = bar()
|
||||
}
|
||||
|
||||
fun bar() {}
|
||||
Reference in New Issue
Block a user