fix(resolution): recognize union instantiation

This commit is contained in:
ctype_lab
2026-08-06 17:11:26 +09:00
parent ba58365c6f
commit e922563e05
3 changed files with 53 additions and 2 deletions
+1
View File
@@ -2107,6 +2107,7 @@ function findBestMatch(
if (
candidate.kind === 'class' ||
candidate.kind === 'struct' ||
candidate.kind === 'union' ||
candidate.kind === 'interface'
) {
score += 25;