Ilya Chernikov
fecc5ba501
K2: do not try to resolve invoke on error receiver
...
If a potential receiver is resolved to an error type, we consider
any other type as a subtype of it and therefore may select
any candidate that we happen to find in a scope.
In particular, in the case of scripts, or code with a context receiver,
the receiver candidate resolved to a cycle was accepted as a receiver
to an invoke on a random class from stdlib.
The fix skips adding invoke resolve task in this case, allowing
the tower to find the correct candidate in another scope.
#KT-64241 fixed
#KT-65576 fixed
2024-03-19 15:38:35 +00:00
..
2024-03-13 08:38:15 +00:00
2024-01-17 14:18:06 +00:00
2024-03-06 09:01:38 +00:00
2024-03-05 17:38:59 +00:00
2024-03-08 15:37:45 +00:00
2024-02-08 12:59:31 +00:00
2024-03-12 15:58:34 +00:00
2024-03-08 15:37:44 +00:00
2024-03-13 08:38:15 +00:00
2023-11-14 15:19:33 +00:00
2024-03-08 15:37:44 +00:00
2024-01-10 14:56:30 +00:00
2024-03-08 10:07:23 +00:00
2024-03-19 15:38:35 +00:00
2024-03-19 12:32:17 +00:00
2024-01-29 07:56:43 +00:00
2024-03-08 15:37:44 +00:00
2024-02-20 20:09:08 +00:00
2024-03-11 13:38:05 +00:00
2024-03-05 17:38:59 +00:00
2024-03-14 18:34:30 +00:00
2023-12-21 10:19:23 +00:00
2024-03-08 15:37:44 +00:00
2024-03-07 12:49:47 +00:00
2024-03-13 08:38:14 +00:00
2024-03-19 15:38:35 +00:00
2024-03-08 15:37:44 +00:00
2024-03-12 10:26:23 +00:00
2024-03-14 12:38:47 +00:00
2024-03-19 12:51:06 +00:00
2024-03-19 15:34:43 +00:00
2024-02-15 16:10:13 +00:00
2024-03-18 18:11:14 +00:00
2024-03-07 12:49:47 +00:00
2024-03-04 12:00:18 +00:00
2024-03-18 18:11:14 +00:00
2024-03-15 17:00:03 +00:00
2024-03-08 15:37:44 +00:00
2024-03-11 13:38:05 +00:00
2024-03-19 15:38:35 +00:00
2024-03-14 12:38:48 +00:00
2024-03-14 22:39:03 +00:00
2024-03-14 22:39:03 +00:00
2023-12-21 13:29:00 +00:00
2024-01-11 10:32:12 +00:00
2024-02-14 09:57:12 +00:00
2024-02-14 09:55:24 +00:00
2024-03-14 12:38:44 +00:00
2024-03-05 17:38:59 +00:00
2024-03-19 07:40:09 +00:00
2024-03-14 22:39:03 +00:00
2024-03-08 15:37:44 +00:00
2024-03-06 16:13:09 +00:00
2024-03-08 15:37:44 +00:00
2024-03-08 15:37:44 +00:00
2024-01-29 14:56:48 +00:00
2024-03-05 07:59:26 +00:00
2024-03-07 07:49:44 +00:00
2023-12-19 09:04:26 +00:00
2024-02-14 13:13:01 +00:00
2024-03-13 12:39:54 +00:00
2024-02-14 13:13:01 +00:00
2024-03-13 08:38:15 +00:00
2024-03-19 12:51:06 +00:00
2024-02-28 18:08:11 +00:00
2023-12-21 07:43:38 +00:00
2024-01-03 12:05:18 +00:00
2024-03-14 12:38:47 +00:00
2024-03-08 15:37:44 +00:00
2024-02-15 13:08:35 +00:00
2024-03-08 15:37:44 +00:00
2024-03-08 15:37:44 +00:00
2015-09-08 02:04:32 +03:00
2023-04-19 20:12:38 +00:00
2024-01-31 08:27:34 +00:00
2024-01-31 08:27:34 +00:00
2024-01-17 08:20:05 +00:00
2024-01-17 08:20:04 +00:00
2024-02-26 09:53:13 +00:00
2024-02-26 09:53:13 +00:00
2024-03-08 15:37:44 +00:00
2023-03-31 15:01:50 +00:00
2024-03-08 15:37:44 +00:00
2024-03-08 15:37:44 +00:00
2024-03-08 15:37:44 +00:00
2024-01-05 13:34:43 +00:00
2024-01-04 14:08:43 +00:00
2024-01-09 10:44:35 +00:00
2017-04-27 15:50:18 +03:00
2024-02-15 16:10:12 +00:00
2023-01-09 21:37:22 +00:00
2023-01-09 21:37:22 +00:00
2015-09-08 02:04:32 +03:00
2024-03-08 15:37:44 +00:00
2024-03-08 15:37:44 +00:00
2024-03-11 13:38:05 +00:00
2024-01-31 11:16:50 +00:00
2024-02-12 09:00:15 +00:00
2024-02-12 09:00:15 +00:00
2024-02-12 09:00:15 +00:00
2023-10-02 14:37:00 +00:00
2023-03-31 15:01:50 +00:00
2024-01-24 12:49:57 +00:00
2024-01-24 12:49:57 +00:00
2024-01-24 12:49:57 +00:00
2024-01-26 16:32:18 +00:00
2024-01-26 16:32:18 +00:00
2024-01-26 16:32:18 +00:00
2024-01-24 12:49:57 +00:00
2024-01-24 12:49:57 +00:00
2021-09-10 00:49:00 +03:00
2023-08-28 10:57:40 +00:00
2020-03-05 09:39:40 +03:00
2024-01-24 12:49:55 +00:00
2024-03-07 15:10:18 +00:00
2023-01-17 06:26:34 +00:00
2024-02-21 15:04:03 +00:00
2024-02-21 15:04:02 +00:00
2023-03-31 15:01:50 +00:00
2016-12-20 11:00:58 +03:00
2021-05-25 13:28:26 +03:00
2021-05-25 13:28:27 +03:00
2018-06-04 12:21:47 +03:00
2023-04-19 20:12:38 +00:00
2024-01-04 09:45:27 +00:00
2019-12-12 16:11:46 +03:00
2024-01-23 23:16:00 +00:00
2023-08-25 12:23:56 +00:00
2024-03-12 16:35:05 +00:00
2024-03-12 16:35:05 +00:00
2024-03-12 16:35:05 +00:00
2024-03-12 16:35:05 +00:00
2024-03-12 16:35:05 +00:00
2024-02-21 20:24:13 +00:00
2024-02-21 20:24:16 +00:00
2024-02-21 20:24:17 +00:00
2024-01-19 11:40:39 +00:00
2023-08-01 14:58:52 +00:00
2015-12-11 17:01:01 +03:00
2024-03-08 15:37:44 +00:00
2024-01-05 14:15:06 +00:00
2024-03-08 10:07:23 +00:00
2024-03-08 10:07:23 +00:00
2024-01-11 10:32:12 +00:00
2024-02-14 09:57:13 +00:00
2024-02-14 09:57:13 +00:00
2014-12-26 16:23:19 +03:00
2023-08-31 13:07:00 +00:00
2021-05-20 20:32:58 +02:00
2020-10-21 21:23:13 +03:00
2023-09-18 11:41:42 +00:00
2022-11-23 18:29:29 +00:00
2024-01-16 09:57:52 +00:00
2024-01-16 09:57:52 +00:00
2023-07-03 10:11:36 +00:00
2024-03-08 10:07:23 +00:00
2024-03-08 10:07:23 +00:00
2021-05-20 13:46:32 +03:00
2021-04-19 15:11:10 +03:00
2021-08-18 16:03:01 +03:00
2015-09-25 19:20:17 +03:00
2024-03-08 15:37:44 +00:00
2021-09-14 19:13:47 +03:00
2022-03-23 21:13:33 +00:00
2024-02-15 16:10:14 +00:00
2024-03-04 13:34:04 +00:00
2024-03-04 13:34:04 +00:00
2015-12-11 18:54:28 +03:00
2020-03-05 09:39:40 +03:00
2015-09-08 02:04:32 +03:00
2015-09-08 02:04:32 +03:00
2020-03-05 09:39:40 +03:00
2023-12-21 13:29:00 +00:00
2023-01-13 21:32:51 +00:00
2024-03-05 17:38:59 +00:00
2022-01-17 21:27:14 +03:00
2022-03-23 21:13:33 +00:00
2023-02-27 15:00:30 +00:00
2023-02-27 15:00:30 +00:00
2024-03-13 14:31:14 +00:00
2024-01-17 11:31:26 +00:00
2021-09-14 23:48:50 +03:00
2022-06-07 14:12:13 +00:00
2016-08-08 17:48:08 +03:00
2024-03-13 08:38:15 +00:00
2017-06-24 17:26:01 +03:00
2022-11-08 14:51:33 +01:00
2024-02-23 11:52:13 +00:00
2023-07-25 13:16:37 +00:00
2024-03-07 12:49:47 +00:00
2024-03-07 12:49:47 +00:00
2020-03-05 09:39:40 +03:00
2022-09-13 16:45:06 +00:00