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-04-19 13:17:27 +03:00
2018-04-19 13:17:27 +03:00
2018-09-07 15:57:59 +03:00
2018-08-23 09:51:53 +03:00
2016-04-08 17:40:38 +03:00
2018-08-30 16:24:27 +03:00
2018-09-07 15:57:59 +03:00
2018-09-06 18:04:45 +02:00
2016-09-12 12:59:31 +03:00
2018-09-07 15:57:59 +03:00
2018-09-09 11:34:31 +03:00
2018-05-03 10:35:13 +03:00
2018-09-06 18:04:45 +02:00
2018-09-07 15:57:59 +03:00
2016-04-08 17:40:38 +03:00
2016-04-05 00:39:46 +03:00
2018-08-23 09:51:53 +03:00
2018-05-03 22:15:09 +02:00
2018-04-19 14:27:20 +03:00
2018-08-07 13:38:30 +02:00
2017-04-03 14:51:15 +03:00
2018-08-30 14:57:33 +03:00
2018-04-19 13:17:27 +03:00
2018-05-16 17:16:22 +02:00
2018-09-07 15:57:59 +03:00
2018-08-24 13:39:22 +02:00
2018-04-18 15:55:33 +02:00
2017-04-03 14:51:18 +03:00
2016-01-07 17:57:38 +01:00
2017-04-03 14:51:15 +03:00
2016-03-09 10:25:38 +03:00
2016-03-09 10:25:38 +03:00
2016-03-09 10:25:38 +03:00
2018-04-19 13:17:27 +03:00
2018-08-07 13:38:30 +02:00
2017-04-03 14:26:52 +03:00
2017-02-03 19:35:15 +03:00
2018-04-03 21:22:14 +02:00
2018-04-19 13:17:27 +03:00