Roman Elizarov
e2713501ce
Rename SuccessOrFailure to Result and hide Failure from ABI
...
* The members of Result are isSuccess, isFailure, exceptionOrNull, getOrNull
* The rest of API is implemented via inline-only extensions
* There are two internal functions to hide detailed mechanics of an internal
Result.Failure class: createFailure and throwOnFailure
* Result.toString is explicit: either Success(v) or Failure(x)
See KT-26538
2018-09-09 11:34:31 +03:00
..
2018-08-06 10:56:01 +03:00
2018-09-07 10:25:53 +03:00
2018-09-05 12:20:57 +03:00
2018-09-05 12:20:57 +03:00
2018-09-05 12:20:57 +03:00
2018-09-07 10:25:53 +03:00
2018-09-05 12:20:57 +03:00
2018-09-05 12:20:57 +03:00
2018-09-05 12:20:57 +03:00
2018-09-05 12:20:57 +03:00
2018-09-05 12:20:57 +03:00
2018-09-05 12:20:57 +03:00
2018-09-05 12:20:57 +03:00
2018-09-07 10:25:53 +03:00
2018-02-05 12:07:41 +03:00
2018-09-05 12:20:57 +03:00
2018-09-07 10:25:53 +03:00
2018-09-07 10:25:53 +03:00
2018-09-07 10:25:53 +03:00
2018-02-13 13:16:40 +03:00
2018-09-07 10:25:53 +03:00
2018-06-18 11:52:36 +03:00
2018-09-05 12:20:57 +03:00
2018-09-05 12:20:57 +03:00
2018-08-06 10:56:01 +03:00
2018-09-05 12:20:57 +03:00
2018-09-05 12:20:57 +03:00
2018-02-20 14:41:48 +03:00
2018-09-05 12:20:57 +03:00
2018-09-05 12:20:57 +03:00
2018-09-07 10:25:53 +03:00
2018-09-07 10:25:53 +03:00
2018-09-05 12:20:57 +03:00
2018-09-07 10:25:53 +03:00
2018-09-07 10:25:53 +03:00
2018-09-07 10:25:53 +03:00
2018-09-09 11:34:31 +03:00
2018-08-06 10:56:01 +03:00
2018-09-07 10:25:53 +03:00
2018-09-05 12:20:57 +03:00
2018-09-05 12:20:57 +03:00
2018-08-06 10:56:01 +03:00
2018-08-06 10:56:01 +03:00
2018-08-06 10:56:01 +03:00
2018-09-05 12:20:57 +03:00
2018-09-07 10:25:53 +03:00