Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0801cc12da5af28d8009eb66d070f37079ab755d
/
.
/
idea
/
testData
/
intentions
/
simplifyAssertNotNull
/
withMessageLambdaOutside.kt
blob: 01040ce59c6c52d98c1295dd253cade2e5d3436f [
file
] [
log
] [
blame
]
// INTENTION_TEXT: "Replace with '?: error(...)'"
// WITH_RUNTIME
fun foo
(
p
:
Array
<
String
?>)
{
val v
=
p
[
0
]
<caret>
assert
(
v
!=
null
)
{
"Should be not null"
}
}