Introduce "Unused unary operator" inspection
#KT-12073 Fixed
This commit is contained in:
committed by
Dmitry Gridin
parent
158f7f1cd7
commit
74970ddfeb
@@ -0,0 +1,6 @@
|
||||
// "Remove unused unary operator" "true"
|
||||
fun test(foo: Int?): Int {
|
||||
val a = 1 + 2
|
||||
3
|
||||
return a
|
||||
}
|
||||
Reference in New Issue
Block a user