Dmitry Petrov
ebf8ec455d
Box/unbox nullable inline class values with null check
...
When we have a nullable inline class value with non-null underlying
type, corresponding value in unboxed representation is nullable. E.g.:
inline class Str(val value: String)
fun test(s: Str?) = listOf(s)
Here 'test(s: Str?)' accepts nullable 'java.lang.String' as a parameter.
When boxing/unboxing nullable values of such inline classes, take care
of nulls.
#KT-26052 Fixed Target versions 1.3-M2
2018-08-14 10:22:07 +03:00
..
2018-07-31 11:28:39 +03:00
2018-08-09 16:30:32 +03:00
2018-08-13 08:49:04 +03:00
2018-08-09 14:22:50 +03:00
2018-07-11 14:49:36 +03:00
2018-08-09 20:55:50 +03:00
2018-08-09 14:22:46 +03:00
2018-07-17 20:18:29 +03:00
2018-08-09 14:22:51 +03:00
2018-08-09 14:22:50 +03:00
2018-06-14 19:54:30 +03:00
2018-08-09 14:22:50 +03:00
2018-08-09 14:22:50 +03:00
2018-08-09 16:30:32 +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-09 14:22:50 +03:00
2018-08-09 14:22:46 +03:00
2018-08-09 14:22:50 +03:00
2018-08-13 15:10:20 +03:00
2018-08-09 14:22:51 +03:00
2018-08-08 18:33:39 +03:00
2018-08-09 14:22:51 +03:00
2018-08-08 18:33:39 +03:00
2018-08-09 14:22:46 +03:00
2018-08-09 14:22:50 +03:00
2018-08-09 16:30:32 +03:00
2018-07-10 13:34:19 +03:00
2018-08-09 14:22:51 +03:00
2018-06-09 19:15:38 +03:00
2018-07-10 13:34:19 +03:00
2018-08-09 14:22:50 +03:00
2018-08-09 14:22:46 +03:00
2018-08-01 12:29:24 +02:00
2015-05-12 19:43:17 +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-08-09 16:30:32 +03:00
2018-06-09 19:15:38 +03:00
2018-07-13 23:42:41 +03:00
2018-08-08 18:33:39 +03:00
2018-08-14 10:22:07 +03:00
2018-08-09 14:22:51 +03:00
2018-07-10 13:34:19 +03:00
2018-08-09 14:22:50 +03:00
2018-08-09 20:55:50 +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-08-09 14:22:50 +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-06-28 12:26:41 +02:00
2018-08-09 14:22:50 +03:00
2018-06-09 19:15:38 +03:00
2018-08-09 16:30:32 +03:00
2018-06-28 12:26:41 +02:00
2018-08-08 18:33:39 +03:00
2018-08-09 14:22:50 +03:00
2018-06-28 12:26:41 +02:00
2018-06-09 19:15:38 +03:00
2018-08-09 14:22:50 +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-09 16:30:32 +03:00
2018-06-09 19:15:38 +03:00
2018-08-09 14:22:50 +03:00
2018-08-10 18:20:05 +02:00
2018-08-09 14:22:50 +03:00
2018-08-09 14:22:50 +03:00
2018-08-09 16:30:32 +03:00
2018-08-09 14:22:46 +03:00
2018-06-14 19:54:30 +03:00
2018-08-09 14:22:50 +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-08-07 14:41:50 +03:00
2018-08-09 14:22:50 +03:00
2018-08-09 20:55:50 +03:00
2018-08-08 18:33:39 +03:00
2018-08-09 14:22:51 +03:00
2018-06-28 12:26:41 +02: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
2018-08-09 14:22:46 +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-09 14:22:50 +03:00
2018-08-09 09:47:48 +03:00
2018-08-09 14:22:50 +03:00
2018-08-09 20:55:50 +03:00