33e6a85a2d
We exclude testData pattern from copyright scope
15 lines
223 B
Kotlin
Vendored
15 lines
223 B
Kotlin
Vendored
import kotlin.contracts.contract
|
|
|
|
class A {
|
|
var x: Int
|
|
get() {
|
|
contract {
|
|
req
|
|
}
|
|
|
|
fun <expr>doSmth</expr>(i: String) = 4
|
|
return doSmth("str")
|
|
}
|
|
set(value) = Unit
|
|
}
|