William Reed
block
contract { callsInPlace(block, InvocationKind.EXACTLY_ONCE) }
diesieben07
Also please note that currently the Kotlin compiler does not verify contracts, so it's the responsibility of the programmer to write correct and sound contracts.
A modern programming language that makes developers happier.