Kirill Rakhman
ade1354a84
[FIR] If callable reference can't be resolved with expected type, try resolving with Any
...
In positions outside of calls (e.g. property initializers)
we resolve callable references using a synthetic outer call with the
expected type as parameter type.
If this fails, we previously returned an unresolved reference.
After this commit, we additionally try to resolve the callable reference
with expected type Any.
This lets us report more precise diagnostics like type mismatches or
when multiple overloads exist NONE_APPLICABLE.
#KT-55373 Fixed
#KT-55955 Fixed
2023-08-02 08:00:33 +00:00
..
2023-07-20 07:29:18 +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
2021-04-16 11:12:55 +03:00
2022-03-23 21:13:33 +00:00
2022-07-22 16:03:52 +00:00
2023-07-20 07:29:18 +00:00
2021-05-25 13:28:27 +03:00
2023-08-02 08:00:33 +00:00
2022-03-23 21:13:33 +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-07-20 07:29:18 +00:00
2022-07-22 16:03:52 +00:00
2022-07-22 16:03:52 +00:00
2022-07-22 16:03:51 +00:00
2022-07-22 16:03:51 +00:00
2021-05-25 13:28:29 +03:00
2021-03-29 16:12:29 +03:00
2023-07-20 07:29:18 +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-08-02 08:00:33 +00:00
2022-07-22 16:03:52 +00:00
2023-04-24 14:04:50 +00:00
2021-04-02 16:22:01 +03:00
2021-04-16 11:12:55 +03:00
2022-07-22 16:03:52 +00:00
2023-07-20 07:29:18 +00:00
2022-07-22 16:03:52 +00:00
2022-07-22 16:03:52 +00:00
2021-11-17 15:26:38 +03:00
2022-07-22 16:03:52 +00:00
2021-04-16 11:12:55 +03:00
2021-04-16 11:12:55 +03:00
2022-03-23 21:13:33 +00:00
2023-07-20 07:29:18 +00:00
2021-05-25 13:28:27 +03:00
2022-03-23 21:13:33 +00:00
2021-05-25 13:28:26 +03:00
2021-05-25 13:28:27 +03:00
2022-03-23 21:13:33 +00:00
2023-02-15 08:13:44 +00:00