xxfast
10/06/2024, 12:22 AMKotlin.Result<T>
types doesn't get exposed to objective c?
I have a kotlin signature that looks like
fun example(): Result<Unit> = Result.success(Unit)
which gets exposed as
- (id _Nullable)example __attribute__((swift_name("example()")));
in objective-cxxfast
10/06/2024, 12:34 AMFrançois
10/06/2024, 5:58 AMFrançois
10/06/2024, 5:59 AMxxfast
10/06/2024, 6:17 AMFrançois
10/06/2024, 6:56 AMxxfast
10/06/2024, 6:59 AMResults
are inline classesxxfast
10/06/2024, 6:59 AMxxfast
10/06/2024, 7:00 AMFrançois
10/06/2024, 7:01 AMFrançois
10/06/2024, 7:02 AMBernd Prünster
10/06/2024, 7:07 AMrunCatching
will catch errors you don't want to have caught, which is why KmmResult relies on Arrow's nonFatalOrThrow