elect
12/14/2021, 10:06 AM@OptIn(ExperimentalContracts::class)
and I choose to put it at the level file (@file:OptIn(ExperimentalContracts::class)
) will still only those methods require that marker or the whole class now?
Also, I marked the class methods, but in the docs I read
Only the top-level functions can have a contract for nowwhich doesn't seem the case.. maybe it's outdated?