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