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-09-07 11:49:42 +03:00
2018-08-09 16:30:32 +03:00
2018-08-31 15:34:18 +03:00
2018-08-28 13:48:44 +03:00
2018-09-04 20:19:04 +03:00
2018-09-04 20:19:04 +03:00
2018-09-04 20:19:04 +03:00
2018-07-17 20:18:29 +03:00
2018-08-30 14:52:33 +03:00
2018-08-28 13:48:43 +03:00
2018-06-14 19:54:30 +03:00
2018-09-04 20:19:04 +03:00
2018-08-28 13:48:43 +03:00
2018-09-04 20:19:04 +03:00
2018-06-28 12:26:41 +02:00
2018-08-01 12:29:24 +02:00
2018-07-12 14:18:34 +03:00
2018-08-31 19:54:08 +02:00
2018-08-09 14:22:46 +03:00
2018-09-04 20:19:04 +03:00
2018-09-09 11:34:31 +03:00
2018-08-09 14:22:51 +03:00
2018-08-08 18:33:39 +03:00
2018-08-17 21:44:08 +03:00
2018-09-04 20:19:04 +03:00
2018-08-09 14:22:46 +03:00
2018-08-09 14:22:50 +03:00
2018-08-31 15:34:18 +03:00
2018-07-10 13:34:19 +03:00
2018-08-31 15:34:18 +03:00
2018-09-04 20:19:04 +03:00
2018-07-10 13:34:19 +03:00
2018-08-15 13:35:14 +03:00
2018-08-09 14:22:46 +03:00
2018-08-01 12:29:24 +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-04 20:19:04 +03:00
2018-06-09 19:15:38 +03:00
2018-08-31 15:34:18 +03:00
2018-08-08 18:33:39 +03:00
2018-09-09 11:34:31 +03:00
2018-08-31 15:34:18 +03:00
2018-07-10 13:34:19 +03:00
2018-08-28 13:48:44 +03:00
2018-08-09 20:55:50 +03:00
2018-08-30 14:52:38 +03:00
2018-06-09 19:15:38 +03:00
2018-08-09 14:22:50 +03:00
2018-08-30 14:56:42 +03:00
2018-08-01 12:29:24 +02:00
2018-08-30 16:24:34 +03:00
2018-08-09 14:22:50 +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-06-09 19:15:38 +03:00
2018-09-04 20:19:04 +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-06-28 12:26:41 +02:00
2018-06-09 19:15:38 +03:00
2018-08-31 15:34:18 +03:00
2018-08-09 14:22:50 +03:00
2018-06-09 19:15:38 +03:00
2018-08-09 14:22:50 +03:00
2018-06-28 12:26:41 +02:00
2018-08-09 14:22:50 +03:00
2015-11-06 11:46:12 +03:00
2018-08-09 14:22:50 +03:00
2018-08-28 13:48:43 +03:00
2018-06-09 19:15:38 +03:00
2018-09-04 20:19:04 +03:00
2018-09-07 11:49:41 +03:00
2018-09-04 20:19:04 +03:00
2018-08-28 13:48:43 +03:00
2018-09-04 20:19:04 +03:00
2018-08-09 14:22:46 +03:00
2018-06-14 19:54:30 +03:00
2018-08-31 15:34:18 +03:00
2018-06-28 12:26:41 +02:00
2018-08-02 15:51:16 +02:00
2018-08-09 14:22:50 +03:00
2018-09-04 20:19:04 +03:00
2018-08-24 15:49:13 +03:00
2018-08-09 20:55:50 +03:00
2018-08-31 15:34:18 +03:00
2018-08-09 14:22:51 +03:00
2018-06-28 12:26:41 +02:00
2018-08-31 15:34:18 +03:00
2018-08-28 13:48:43 +03:00
2018-08-09 14:22:50 +03:00
2018-08-31 15:34:18 +03:00
2018-08-09 14:22:50 +03:00
2018-06-21 13:27:17 +03:00
2018-06-28 12:26:41 +02:00
2018-07-10 13:34:19 +03:00
2018-08-15 10:26:28 +03:00
2018-08-31 15:22:43 +03:00
2018-08-09 14:22:50 +03:00
2018-09-04 20:19:04 +03:00