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-09 11:34:31 +03:00
2017-10-17 14:37:11 +03:00
2018-08-30 14:49:30 +03:00
2018-08-30 14:50:23 +03:00
2018-05-24 01:01:51 +03:00
2018-08-30 14:49:30 +03:00
2018-03-26 16:09:29 +03:00
2018-08-07 11:55:23 +03:00
2017-10-16 18:48:09 +03:00
2017-10-16 18:48:09 +03:00
2018-09-08 12:16:20 +03:00
2018-09-08 12:16:20 +03:00
2018-09-06 19:17:43 +02:00
2018-07-30 19:08:04 +03:00
2018-02-02 15:40:10 +03:00
2018-09-07 18:47:18 +02:00
2018-09-07 18:47:18 +02:00
2018-08-30 14:49:30 +03:00
2018-08-30 14:49:30 +03:00
2018-09-06 20:07:54 +03:00
2018-08-30 14:57:56 +03:00
2018-08-30 14:49:30 +03:00
2018-09-07 21:17:08 +03:00
2018-08-30 14:50:23 +03:00
2018-08-30 14:49:30 +03:00
2018-07-20 22:17:45 +03:00
2018-08-30 14:50:23 +03:00
2018-09-07 18:47:18 +02:00
2018-09-07 21:17:07 +03:00
2018-09-07 21:17:07 +03:00
2018-09-07 01:03:53 +03:00
2017-11-30 14:26:05 +03:00
2018-08-30 17:34:32 +02:00
2018-08-30 14:49:30 +03:00
2018-08-30 14:50:16 +03:00