Change of plans. We will allow returning kotliln.Result
from functions. For checked exceptions there will be another feature, which does not involve kotlin.Result
. Reason is simple: kotlin.Result
does not allow specific exceptions, which is needed for checked exceptions. It is not yet clear, how checked exceptions will look like. The best candidate is contextual receivers.
6 Likes