Redundant Unit inspection: fix false positive for single expression
So #KT-22097 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
30acc224ec
commit
18de0f75ab
@@ -0,0 +1,5 @@
|
||||
fun test(b: Boolean): Unit = try {
|
||||
fun a() {}
|
||||
<caret>Unit
|
||||
} catch (e: Exception) {
|
||||
}
|
||||
Reference in New Issue
Block a user