Does the compiler check that contracts are met by ...
# eap
p
Does the compiler check that contracts are met by function implementations? For example, would this generate an error?
Copy code
fun String?.myCheck(): Boolean {
    contract {
        returns(true) implies(this@myCheck is String)
    }
    return true
}