Files
kotlin-fork/compiler/testData/codegen/box
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-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-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-01 12:29:24 +02:00
2018-08-09 16:30:32 +03:00
2018-07-10 13:34:19 +03:00
2018-07-10 13:34:19 +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-08-09 16:30:32 +03:00
2018-08-08 18:33:39 +03:00
2018-07-10 13:34:19 +03:00
2018-08-09 20:55:50 +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-06-28 12:26:41 +02:00
2018-08-09 16:30:32 +03: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-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-02 15:51:16 +02: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-06-28 12:26:41 +02:00
2018-06-28 12:26:41 +02:00
2018-08-09 14:22:46 +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 14:22:50 +03:00
2018-08-09 20:55:50 +03:00