Add "Throwable not thrown" Inspection
#KT-11629 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
e0aeb8f7ec
commit
20aa8ebdb0
@@ -0,0 +1,7 @@
|
||||
// PROBLEM: Throwable instance 'FooException' is not thrown
|
||||
// FIX: none
|
||||
class FooException : RuntimeException()
|
||||
|
||||
fun test() {
|
||||
<caret>FooException()
|
||||
}
|
||||
Reference in New Issue
Block a user