Use Intrinsics.checkNotNullParameter to throw NPE in parameter null checks
Similarly to previous commits, this method was unused, so we're changing its semantics in API version >= 1.4. #KT-22275 In Progress
This commit is contained in:
@@ -13,3 +13,4 @@ fun bar(a: ArrayList<String>) {
|
||||
// 1 checkExpressionValueIsNotNull
|
||||
// 0 checkNotNullExpressionValue
|
||||
// 1 checkParameterIsNotNull
|
||||
// 0 checkNotNullParameter
|
||||
|
||||
Reference in New Issue
Block a user