[Fir] get candidate from missed type args diagnostics in annotation call

Otherwise, navigation to unresolved reference is impossible ^ KTIJ-26441

In order to avoid duplicated diagnostic, wrapper is still used.
Symbol collector is updated to retrieve symbols from that wrapper.


Merge-request: KT-MR-11381
Merged-by: Anna Kozlova <Anna.Kozlova@jetbrains.com>
This commit is contained in:
Anna Kozlova
2023-07-31 16:12:17 +00:00
committed by Space Team
parent 9c3fa5e878
commit 8fb9461276
12 changed files with 85 additions and 1 deletions
@@ -0,0 +1,7 @@
// FIR_IDENTICAL
package usage
annotation class B<T>
@<!WRONG_NUMBER_OF_TYPE_ARGUMENTS!>B<!>
class A