Add "Redundant 'requireNotNull' or 'checkNotNull' call" inspection

#KT-29113 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-02-04 16:40:55 +09:00
committed by Mikhail Glukhikh
parent c234683770
commit fa1f3871c0
16 changed files with 212 additions and 0 deletions
@@ -0,0 +1,5 @@
// PROBLEM: none
// WITH_RUNTIME
fun test(s: String?) {
<caret>requireNotNull(s)
}