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
..
2020-10-14 16:05:15 +03:00
2021-04-23 17:58:16 +02:00
2021-04-08 23:48:39 +03:00
2021-04-08 23:48:39 +03:00
2021-04-08 23:48:39 +03:00
2020-09-29 22:44:00 +03:00
2020-09-29 22:44:00 +03:00
2020-09-29 22:44:00 +03:00
2020-09-29 22:44:00 +03:00
2020-09-29 22:44:00 +03:00
2020-09-29 22:44:00 +03:00
2020-09-29 22:44:00 +03:00
2020-09-29 22:44:00 +03:00
2020-09-29 22:44:00 +03:00
2020-09-30 15:44:54 +03:00
2020-09-29 22:44:00 +03:00
2020-09-29 22:44:00 +03:00
2020-09-29 22:44:00 +03:00
2020-09-29 22:44:00 +03:00
2020-09-29 22:44:00 +03:00
2020-09-29 22:44:00 +03:00
2020-09-29 21:06:30 +03:00
2020-09-23 18:14:20 +03:00
2020-09-23 18:14:20 +03:00
2021-04-23 17:58:16 +02:00
2020-12-04 18:57:10 +03:00
2021-04-23 17:58:16 +02:00
2020-09-22 15:26:34 +03:00
2020-09-22 15:26:34 +03:00
2020-09-22 15:26:34 +03:00
2020-09-22 15:26:34 +03:00
2020-09-25 11:57:32 +03:00
2020-09-25 11:57:32 +03:00
2020-09-25 11:57:32 +03:00
2020-09-25 11:57:33 +03:00
2020-09-25 11:57:33 +03:00
2020-09-25 11:57:33 +03:00
2020-11-10 16:41:45 +03:00
2020-11-10 16:41:45 +03:00
2020-11-10 16:41:45 +03:00
2020-11-10 16:41:45 +03:00
2020-11-10 16:41:45 +03:00
2021-05-12 13:58:40 +02:00
2021-05-12 13:58:40 +02:00
2021-05-12 13:58:40 +02:00
2021-01-11 17:33:50 +03:00
2021-01-11 17:33:50 +03:00
2021-01-11 17:33:50 +03:00
2021-02-10 09:09:28 +03:00
2021-02-10 09:09:28 +03:00
2021-02-10 09:09:28 +03:00
2020-09-30 15:44:54 +03:00
2020-09-30 15:44:54 +03:00
2020-09-30 15:44:54 +03:00
2020-09-22 15:26:34 +03:00
2020-09-22 15:26:34 +03:00
2020-10-16 00:02:12 +03:00
2020-10-16 00:02:12 +03:00
2020-09-22 15:26:34 +03:00
2020-09-22 15:26:34 +03:00
2020-09-22 15:26:34 +03:00
2020-09-22 15:26:34 +03:00
2020-09-22 15:26:34 +03:00
2020-09-22 15:26:34 +03:00
2020-09-22 15:26:34 +03:00
2020-09-25 11:57:33 +03:00
2020-07-27 19:13:37 +03:00
2020-09-22 15:26:34 +03:00
2020-09-22 15:26:34 +03:00
2020-09-22 15:26:34 +03:00
2020-09-22 15:26:34 +03:00
2020-09-22 15:26:34 +03:00
2020-09-29 14:06:12 +03:00
2020-09-29 14:06:12 +03:00
2020-09-29 14:06:12 +03:00
2020-09-29 14:06:12 +03:00
2020-09-29 14:06:12 +03:00
2020-09-29 14:06:12 +03:00
2020-09-29 14:06:12 +03:00
2020-09-29 14:06:12 +03:00
2020-09-29 14:06:12 +03:00
2020-09-29 14:06:12 +03:00
2020-11-11 18:35:41 +03:00
2020-11-11 18:35:41 +03:00
2020-09-25 11:57:33 +03:00
2020-07-27 19:13:37 +03: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