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-28 13:48:43 +03:00
2018-08-30 16:24:31 +03:00
2018-08-02 13:19:24 +02:00
2018-08-28 13:48:43 +03:00
2018-06-28 12:26:41 +02:00
2018-08-02 13:19:24 +02:00
2018-08-09 14:22:50 +03:00
2018-08-02 13:19:24 +02:00
2018-08-09 14:22:50 +03:00
2018-08-29 12:52:20 +02:00
2018-08-30 16:19:55 +03:00
2018-08-31 15:34:18 +03:00
2018-06-28 12:26:41 +02:00
2018-06-28 12:26:41 +02:00
2018-08-09 14:22:50 +03:00
2018-08-09 14:22:50 +03:00
2018-09-05 12:20:57 +03:00
2018-06-28 12:26:41 +02:00
2018-06-28 12:26:41 +02:00
2018-06-28 12:26:41 +02:00
2018-08-09 16:30:32 +03:00
2018-08-09 14:22:50 +03:00
2018-06-28 12:26:41 +02:00
2018-08-31 15:34:18 +03:00
2018-09-04 20:19:04 +03:00
2018-08-02 13:19:24 +02:00
2018-08-02 13:19:24 +02:00
2018-09-06 18:04:45 +02:00
2018-08-28 13:48:43 +03:00
2018-06-28 12:26:41 +02:00
2018-08-09 14:22:50 +03:00
2018-08-09 14:22:50 +03:00
2018-08-15 10:26:28 +03:00
2018-08-02 13:19:24 +02:00
2018-09-09 11:34:31 +03:00
2018-08-02 13:19:24 +02:00
2018-06-28 12:26:41 +02:00
2018-08-02 13:19:24 +02:00
2018-08-02 13:19:24 +02:00