Add inspection for check/require/checkNotNull/requireNotNull

#KT-30640 Fixed
#KT-22412 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-04-10 10:32:29 +03:00
committed by Mikhail Glukhikh
parent 64780293d3
commit 90b0ea73dc
30 changed files with 458 additions and 40 deletions
@@ -0,0 +1,5 @@
// FIX: Replace with 'checkNotNull()' call
// WITH_RUNTIME
fun test(foo: Int?) {
checkNotNull(foo)
}