Alexander Udalov
e079fb665e
JVM IR: fix inheritance from mutable collections of Int
...
For subclasses of `AbstractMutableList<Int>` which are not inline
classes, the special bridge `remove` had a parameter of type `Int`
(mapped to JVM primitive int) before this fix. The hack in
`MethodSignatureMapper` changed this type to `Int?`, yet the body of the
special bridge still loaded it as non-nullable, which resulted in
incorrect bytecode.
It looks like a part of this hack in `BridgeLowering` was made only for
inline classes which are subclasses of mutable collections. Supposedly
it should be extended to non-inline classes, so that `remove` special
bridge would have consistent IR by the time it reaches codegen.
#KT-46516 Fixed
2021-05-12 13:58:40 +02:00
..
2021-04-23 17:58:16 +02:00
2021-05-06 22:58:18 +03:00
2021-05-12 13:58:40 +02:00
2021-05-06 22:58:18 +03:00
2021-04-23 17:58:16 +02:00
2021-01-07 23:00:37 +01:00
2021-04-30 17:34:16 +02:00
2021-04-23 17:58:16 +02:00
2021-03-01 16:20:19 +01:00
2021-05-04 21:10:56 +02:00
2021-01-13 19:16:31 +01:00
2021-03-11 13:33:25 +01:00
2020-07-27 19:13:37 +03:00
2021-02-12 16:52:32 +03:00
2021-04-30 17:34:16 +02:00
2021-01-25 17:29:38 +03:00
2021-02-01 17:57:58 +03:00
2020-10-26 14:56:07 +03:00
2020-10-26 14:56:07 +03:00
2020-10-26 14:56:07 +03:00
2020-10-26 14:56:07 +03:00
2020-10-26 14:56:07 +03:00
2020-10-26 14:56:07 +03:00
2021-01-22 13:20:25 +01:00
2021-01-22 13:20:25 +01:00
2021-01-22 13:20:25 +01:00
2021-02-02 12:46:08 -08:00
2021-02-02 12:46:08 -08:00
2021-02-02 12:46:08 -08:00
2020-12-22 16:09:45 +03:00
2020-12-22 16:09:45 +03:00
2020-06-25 22:31:12 +03:00
2020-07-27 19:13:37 +03:00
2021-05-06 18:25:56 +03:00
2021-05-06 18:25:56 +03:00
2020-10-30 19:03:31 +03:00
2020-10-30 19:03:31 +03:00
2020-09-13 09:13:27 +02:00
2020-09-13 09:13:27 +02:00
2020-07-27 19:13:37 +03:00
2020-06-23 20:51:48 +03:00
2020-07-27 19:13:37 +03:00
2020-06-19 11:57:35 +02:00
2020-07-27 19:13:37 +03:00
2021-03-19 18:54:01 +03:00
2021-03-19 18:54:01 +03:00
2021-03-19 18:54:01 +03:00
2021-04-23 17:58:16 +02:00
2020-10-19 20:52:53 +03:00
2021-01-07 23:00:37 +01:00
2020-06-30 18:24:25 +03:00
2020-07-27 19:13:37 +03:00
2020-06-19 11:57:35 +02:00
2020-07-27 19:13:37 +03:00
2021-01-12 12:47:59 +01:00
2021-01-12 12:47:59 +01:00
2021-01-12 12:47:59 +01:00
2021-01-12 12:47:59 +01:00
2020-07-27 17:02:24 +02:00
2020-07-27 19:13:37 +03:00
2020-10-29 17:19:49 +01:00
2020-10-29 17:19:49 +01:00
2020-06-23 20:51:48 +03:00
2020-07-27 19:13:37 +03:00
2020-12-01 19:43:52 +03:00
2020-12-01 19:43:52 +03:00
2021-04-23 17:58:16 +02:00
2020-12-09 16:47:25 +03:00
2020-12-01 19:43:52 +03:00
2020-12-01 19:43:52 +03:00
2020-03-18 13:33:56 +03:00
2020-07-27 19:13:37 +03:00
2020-12-09 13:26:14 +01:00
2020-12-09 13:26:14 +01:00
2020-12-09 13:26:14 +01:00
2020-11-20 14:33:20 +03:00
2020-11-20 14:33:20 +03:00
2020-11-03 18:33:34 +01:00
2020-12-01 23:45:47 +01:00
2020-11-09 15:20:46 +03:00
2021-04-23 17:58:16 +02:00
2020-11-09 15:20:46 +03:00
2020-11-23 13:56:17 +03:00
2020-11-23 13:56:17 +03:00
2021-04-12 22:52:08 +03:00
2021-04-12 22:52:08 +03:00
2021-04-12 22:52:08 +03:00
2021-04-12 22:52:08 +03:00
2021-04-15 17:59:19 +03:00
2021-04-15 17:59:19 +03:00
2020-07-27 19:13:37 +03:00
2020-06-19 11:57:35 +02:00
2020-07-27 19:13:37 +03:00
2020-09-07 21:01:29 +02:00
2020-09-07 21:01:29 +02:00
2020-09-02 16:46:05 +02:00
2020-09-28 21:48:14 +03:00
2020-09-28 21:48:14 +03:00
2020-07-27 19:13:37 +03:00
2021-02-15 17:19:33 +03:00
2021-02-15 17:19:33 +03:00
2021-02-15 17:19:33 +03:00
2021-02-15 17:19:33 +03:00
2020-10-29 17:19:49 +01:00
2020-10-29 17:19:49 +01:00
2020-10-29 17:19:49 +01:00
2020-03-18 14:18:47 +03:00
2020-07-27 19:13:37 +03:00
2020-06-25 22:31:12 +03:00
2021-04-23 17:58:16 +02:00
2020-07-23 19:13:28 +03:00
2020-07-27 19:13:37 +03:00
2020-10-19 20:52:53 +03:00
2021-04-23 17:58:16 +02:00
2020-09-04 10:21:49 +03:00
2020-12-16 14:10:36 +03:00
2020-12-16 14:10:36 +03:00
2020-12-16 14:10:36 +03:00
2020-12-16 14:10:36 +03:00
2020-11-04 12:03:06 +01:00
2020-11-04 12:03:06 +01:00