(n: Node)
| 2780 | const set = kmpSourceSet(ref.filePath); |
| 2781 | const target = set === null ? null : kmpBuildTarget(set); |
| 2782 | const targetOf = (n: Node): string => kmpBuildTarget(kmpSourceSet(n.filePath) ?? ''); |
| 2783 | if (target?.startsWith('common') || (target === null && ref.language !== 'java')) return pickClosestJvmCandidate(declarations, ref.filePath); |
| 2784 | const own = actuals.filter((n) => targetOf(n) === target); |
| 2785 | if (own.length > 0) return pickClosestJvmCandidate(own, ref.filePath); |
no test coverage detected