Kirill Rakhman
9606a5a441
[Tests] Add test for vararg callable reference adaption with typealias
...
#KT-65817 Fixed
2024-02-20 14:11:14 +00:00
Kirill Rakhman
d91000e39c
[FIR] Report INAPPLICABLE_CANDIDATE or more specific diagnostic for callable references
...
... instead of just UNRESOLVED_REFERENCE when something went wrong
during resolution.
#KT-59401 related
2023-11-08 15:45:48 +00:00
Kirill Rakhman
2f3293f99e
[FIR] Skip redundant INAPPLICABLE_CANDIDATE on call with unresolved callable reference argument
...
A new resolution diagnostic UnsuccessfulCallableReferenceAtom is
introduced that is used in EagerResolveOfCallableReferences.
No diagnostic is reported on unresolved calls with this diagnostic
because
#KT-59856
2023-07-20 07:29:18 +00:00
Victor Petukhov
42e71f8c53
Remove explicit enabling the new type inference from test data
2022-07-22 16:03:52 +00:00
Jinseong Jeon
bfc7eb7bab
FIR checker: fix REFERENCE_BY_QUALIFIED positioning strategy to consider callable reference
2021-03-26 15:19:10 +03:00
Jinseong Jeon
0e54f98b79
FIR: support adapted callable reference with vararg
2020-08-03 16:37:36 +03:00
Dmitriy Novozhilov
f283f2db43
[FIR] Improve diagnostic reporting & don't use error symbol for candidate if possible
...
Also introduce few new diagnostics:
- NONE_APPLICABLE more many inapplicable candidates
- HIDDEN for visible candidates
2020-07-28 20:46:56 +03:00
Mikhail Zarechenskiy
e3b6104489
[NI] Map vararg to Array if it's resolved against type variable
...
While this behavior is questionable, it's consistent with OI and can
be changed in future
#KT-36201 Fixed
2020-01-29 11:43:14 +03:00