Brian Norman
e3ddeff230
[FIR] Track local variable assigned types for smartcast stability
...
When a lambda captures a local variable without a contract, future
assignments can impact the smartcast stability for that variable within
the lambda. Because future assignments can appear in both resolved and
unresolved code, track each assignment as encountered. To determine if
a smartcast can be considered stable, check that all future assignments
are resolved and do not revert variable to a super type.
^KT-58191 Fixed
2024-02-14 17:44:53 +00:00
..
2024-01-03 17:15:50 +00:00
2022-11-29 12:25:45 +00:00
2023-02-15 08:13:53 +00:00
2022-10-14 08:25:26 +00:00
2024-02-14 17:44:53 +00:00
2022-12-08 10:19:26 +00:00
2023-01-10 15:40:50 +02:00
2023-05-10 07:50:31 +00:00
2024-01-30 17:22:31 +00:00
2024-02-14 17:44:53 +00:00
2024-01-29 19:24:03 +00:00
2023-12-18 13:08:33 +00:00
2023-12-18 13:08:33 +00:00
2023-12-18 13:08:33 +00:00
2023-12-18 13:08:33 +00:00
2023-12-18 13:08:33 +00:00
2023-12-18 13:08:33 +00:00
2021-12-21 19:10:40 +03:00
2021-12-21 19:10:40 +03:00
2023-11-09 19:28:26 +00:00
2023-11-09 19:28:26 +00:00
2024-01-31 16:31:02 +00:00
2024-02-07 22:26:16 +00:00
2024-02-07 22:26:16 +00:00
2024-02-07 22:26:16 +00:00
2024-02-07 22:26:16 +00:00
2021-12-03 14:19:25 +03:00
2023-10-05 14:12:06 +00:00
2023-10-05 14:12:06 +00:00
2023-10-05 14:12:06 +00:00
2022-06-10 09:42:02 +03:00
2022-06-10 09:42:02 +03:00
2022-06-10 09:42:02 +03:00
2022-04-05 15:50:43 +00:00
2022-04-05 15:50:43 +00:00
2022-04-05 15:50:43 +00:00
2022-10-07 08:56:04 +00:00
2022-10-07 08:56:04 +00:00
2022-10-07 08:56:04 +00:00
2021-11-12 15:20:45 +03:00
2021-11-16 18:15:49 +03:00
2021-11-12 15:20:47 +03:00
2021-11-12 15:20:47 +03:00
2022-06-10 09:43:48 +03:00
2022-07-22 16:03:52 +00:00
2022-07-22 16:03:52 +00:00
2022-07-22 16:03:52 +00:00
2022-07-22 16:03:52 +00:00
2022-07-22 16:03:52 +00:00
2022-07-22 16:03:52 +00:00
2023-01-31 07:53:10 +00:00
2023-01-31 07:53:10 +00:00
2022-04-07 12:18:48 +00:00
2022-04-07 12:18:48 +00:00
2023-01-13 21:32:51 +00:00
2023-09-04 08:05:07 +00:00
2022-03-23 21:13:33 +00:00
2023-09-04 08:05:07 +00:00
2022-03-23 21:13:33 +00:00
2021-12-21 19:10:40 +03:00
2021-12-21 19:10:40 +03:00
2023-12-01 19:20:26 +00:00
2023-12-01 19:20:26 +00:00
2023-12-01 19:20:26 +00:00
2023-12-01 19:20:26 +00:00
2023-12-18 13:08:33 +00:00
2023-12-18 13:08:33 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-12-14 16:40:27 +00:00
2022-02-25 11:46:27 +00:00
2022-02-25 11:46:27 +00:00
2023-12-18 13:08:33 +00:00
2023-12-18 13:08:33 +00:00
2023-04-12 08:59:03 +00:00
2023-04-12 08:59:03 +00:00
2024-02-08 12:59:31 +00:00
2023-09-22 10:48:31 +00:00
2023-03-17 14:57:41 +00:00
2023-03-17 14:57:41 +00:00
2023-03-17 14:57:41 +00:00
2023-11-14 15:19:33 +00:00
2023-11-14 15:19:33 +00:00
2023-11-14 15:19:33 +00:00
2023-11-14 15:19:33 +00:00
2023-02-01 15:02:02 +00:00
2023-02-01 15:02:02 +00:00
2024-01-09 10:47:14 +00:00
2024-01-09 10:47:14 +00:00
2023-07-27 13:05:58 +00:00
2022-06-16 22:14:17 +02:00
2023-12-18 13:08:33 +00:00
2023-12-18 13:08:33 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00