(n: Node)
| 2867 | const set = kmpSourceSet(ref.filePath); |
| 2868 | const target = set === null ? null : kmpBuildTarget(set); |
| 2869 | const targetOf = (n: Node): string => kmpBuildTarget(kmpSourceSet(n.filePath) ?? ''); |
| 2870 | if (target?.startsWith('common') || (target === null && ref.language !== 'java')) return pickClosestJvmCandidate(declarations, ref.filePath); |
| 2871 | const own = actuals.filter((n) => targetOf(n) === target); |
| 2872 | if (own.length > 0) return pickClosestJvmCandidate(own, ref.filePath); |
no test coverage detected