fix(resolution): recognize union instantiation
This commit is contained in:
1 parent
ba58365c6f
commit
e922563e05
3 files changed
+53
-2
No files matched your search
@@ -2107,6 +2107,7 @@ function findBestMatch(
|
||||
if (
|
||||
candidate.kind === 'class' ||
|
||||
candidate.kind === 'struct' ||
|
||||
candidate.kind === 'union' ||
|
||||
candidate.kind === 'interface'
|
||||
) {
|
||||
score += 25;
|
||||
|
||||
Reference in new issue
Block a user