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-05-10 12:12:21 +03:00
2020-11-09 16:04:43 +03:00
2021-04-20 21:24:29 +02:00
2021-01-25 17:08:31 +03:00
2021-03-10 18:46:30 +01:00
2021-04-07 00:23:20 +03:00
2021-04-30 17:59:38 +03:00
2021-03-02 19:11:15 +03:00
2021-05-12 11:37:48 +03:00
2021-04-19 16:05:12 +02:00
2021-03-24 20:16:15 +01:00
2020-09-29 10:17:43 +03:00
2021-04-30 15:25:44 +03:00
2021-02-20 10:31:26 +03:00
2021-05-12 13:58:40 +02:00
2020-12-11 06:36:42 +01:00
2021-04-21 16:18:21 +03:00
2021-04-21 19:10:32 +03:00
2021-02-11 13:50:08 +01:00
2021-01-25 17:08:31 +03:00
2021-04-21 17:24:41 +03:00
2021-05-03 07:43:37 +02:00
2021-05-11 16:26:04 +02:00
2020-11-09 16:04:43 +03:00
2021-05-10 14:26:14 +03:00
2021-03-19 18:54:01 +03:00
2021-04-20 21:24:29 +02:00
2021-01-18 08:28:15 +03:00
2021-04-20 21:24:29 +02:00
2021-03-12 14:36:53 +03:00
2021-04-26 11:53:27 +05:00
2021-03-05 23:46:57 +03:00
2020-11-09 16:04:43 +03:00
2021-04-11 13:54:13 +02:00
2020-10-01 17:49:02 +03:00
2020-11-23 16:05:33 +03:00
2021-02-26 12:51:53 +01:00
2020-11-09 16:04:43 +03:00
2021-04-26 12:50:55 +03:00
2021-05-12 11:57:20 +02:00
2021-04-06 12:30:38 +03:00
2021-05-07 00:53:31 +03:00
2021-02-11 13:50:08 +01:00
2020-11-09 16:04:43 +03:00
2021-04-30 15:46:04 +03:00
2021-05-11 05:49:24 +02:00
2021-03-18 21:14:00 +03:00
2021-03-29 16:17:22 +03:00
2021-05-10 14:54:14 +03:00
2021-02-20 18:27:43 +03:00
2021-04-14 19:17:10 +03:00
2021-02-11 13:50:09 +01:00
2020-11-09 16:04:43 +03:00
2021-04-23 17:58:16 +02:00
2021-04-05 15:54:49 +03:00
2020-12-23 21:50:08 +03:00
2021-02-20 10:59:22 +03:00
2021-04-21 16:18:21 +03:00
2021-05-11 16:26:04 +02:00
2020-11-09 16:04:43 +03:00
2021-04-20 21:24:29 +02:00
2021-01-12 18:35:37 +03:00
2021-01-28 13:19:31 +03:00
2021-01-18 08:28:15 +03:00
2021-02-18 14:44:44 +03:00
2021-04-07 18:13:07 +03:00
2020-09-14 10:09:51 +03:00
2020-11-09 16:04:43 +03:00
2021-04-09 13:06:39 +03:00
2021-02-10 13:02:06 +03:00
2020-11-09 16:04:43 +03:00
2021-03-09 09:48:16 +03:00
2021-03-29 16:17:30 +03:00
2020-11-09 16:04:43 +03:00
2021-04-30 17:59:45 +03:00
2021-02-10 13:02:06 +03:00
2021-02-11 13:50:08 +01:00
2020-12-11 17:51:34 +01:00
2021-04-07 00:23:20 +03:00
2021-04-15 07:59:26 +00:00
2021-04-27 18:39:10 +03:00
2021-04-14 19:18:42 +03:00
2021-02-18 14:44:44 +03:00
2021-04-20 21:24:29 +02:00
2021-04-07 07:49:23 +03:00
2021-02-01 18:29:59 +01:00
2020-11-09 16:04:43 +03:00
2021-04-22 10:53:15 +02:00
2021-03-31 16:40:49 +03:00
2021-04-29 00:33:34 +03:00
2021-02-09 16:04:39 +03:00
2021-02-24 11:00:27 +05:00
2021-04-15 15:23:56 +03:00
2021-02-26 12:27:07 +03:00
2021-02-01 18:32:55 +03:00
2020-12-28 16:50:29 +03:00
2021-02-02 14:32:50 +01:00
2021-05-12 11:37:45 +03:00
2021-02-11 13:50:08 +01:00
2021-02-18 14:44:44 +03:00
2020-12-02 20:53:47 +01:00
2021-03-31 15:57:03 +03:00
2021-04-21 17:36:12 +03:00
2021-01-11 17:20:55 +01:00
2020-11-09 16:04:43 +03:00
2021-04-26 15:11:45 +03:00
2021-04-15 07:59:24 +00:00
2021-04-15 17:11:21 +03:00
2021-04-29 23:52:01 +03:00