Second, as a library author when I add contracts t...
# announcements
m
Second, as a library author when I add contracts to all functions, set the
-Xuse-experimental=kotlin.contracts.ExperimentalContracts
flag for my library and do not use any
@ExperimentalContracts
or
@UseExperimental
annotations -> will library users still benefit from contracts? Or do they still have to use
@UseExperimental
or the compiler flag first? Or am I even required to add
@ExperimentalContracts
so that they can have the benefits of contracts in the first place?