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
..
2017-06-30 13:53:09 +03:00
2018-09-07 17:24:19 +03:00
2017-11-27 16:44:04 +03:00
2017-07-26 15:18:30 +03:00
2018-09-07 17:26:15 +03:00
2017-09-07 15:23:04 +03:00
2017-12-26 18:39:51 +03:00
2018-03-07 15:40:19 +03:00
2018-08-09 13:33:03 +03:00
2017-05-10 17:43:44 +03:00
2018-09-09 11:34:31 +03:00
2018-04-03 17:46:27 +03:00
2017-07-31 15:57:31 +03:00
2017-06-16 15:02:31 +03:00
2018-06-05 15:52:16 +03:00
2018-08-13 19:03:01 +03:00
2017-11-02 12:21:14 +03:00
2018-03-07 15:58:23 +03:00
2018-01-29 15:52:44 +03:00
2018-02-12 13:41:50 +03:00
2017-05-19 20:36:31 +03:00
2018-04-28 18:44:29 +03:00
2018-06-19 12:48:11 +03:00
2018-08-03 15:25:35 +03:00
2018-06-13 18:12:31 +03:00
2017-09-25 11:48:15 +03:00
2018-07-23 18:21:37 +03:00
2018-08-15 12:36:00 +03:00
2018-08-30 17:37:36 +03:00
2018-04-18 16:14:43 +03:00
2017-07-11 18:47:26 +03:00
2017-11-30 16:47:27 +03:00
2018-06-19 12:48:10 +03:00
2017-06-29 16:25:47 +03:00
2017-12-07 12:19:35 +03:00
2018-09-04 18:29:46 +03:00
2018-02-08 17:10:43 +03:00
2018-09-07 16:32:11 +03:00
2018-08-15 12:36:01 +03:00
2018-05-03 18:32:44 +03:00
2018-08-27 12:53:35 +03:00
2018-01-30 09:59:55 +03:00
2018-02-08 19:34:20 +03:00
2018-05-03 16:12:20 +03:00
2018-08-02 09:23:27 +03:00
2018-08-27 13:10:57 +03:00
2017-12-15 13:50:53 +03:00
2018-01-19 16:16:04 +03:00
2017-06-13 15:17:42 +03:00
2017-12-26 18:39:47 +03:00
2018-05-22 17:33:25 +03:00
2018-08-14 14:11:14 +03:00
2018-08-03 13:21:50 +03:00
2017-05-26 09:48:04 +03:00
2018-08-27 13:42:25 +03:00
2018-06-20 16:23:04 +03:00
2018-06-20 17:18:17 +03:00
2017-12-20 11:56:04 +01:00
2018-05-15 13:26:23 +03:00
2018-08-31 15:03:25 +03:00
2018-09-04 19:29:44 +03:00
2017-11-02 11:07:52 +03:00
2017-12-26 18:39:49 +03:00
2017-12-26 18:39:51 +03:00
2017-11-10 15:34:11 +03:00
2018-04-27 17:26:56 +03:00
2018-08-09 15:24:20 +03:00
2017-12-05 15:29:45 +03:00
2018-01-16 17:06:51 +03:00
2017-12-28 20:31:45 +03:00
2018-05-23 01:41:02 +03:00
2017-12-04 15:58:13 +03:00
2017-12-28 20:31:41 +03:00
2017-08-03 15:30:28 +02:00
2017-06-16 15:02:24 +03:00