Add inspection for check/require/checkNotNull/requireNotNull
#KT-30640 Fixed #KT-22412 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
64780293d3
commit
90b0ea73dc
+7
@@ -0,0 +1,7 @@
|
||||
// FIX: Replace with 'require()' call
|
||||
// WITH_RUNTIME
|
||||
fun test(b: Boolean) {
|
||||
<caret>if (b) {
|
||||
throw java.lang.IllegalArgumentException("test")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user