Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
161333d3e7d13dd98386fe346a71a07eadfe4756
/
.
/
compiler
/
testData
/
loadJava
/
compiledKotlinWithStdlib
/
contracts
/
withReceiver.kt
blob: a03d505df4c63856d86e1d08aa3b870d4344c5ff [
file
]
// OPT_IN: kotlin.contracts.ExperimentalContracts
package
test
import
kotlin
.
contracts
.*
fun
Any
?.
isNotNull
():
Boolean
{
contract
{
returns
(
true
)
implies
(
this
@isNotNull
!=
null
)
}
return
this
!=
null
}