chore(autofix): apply prettier + eslint fixes via /autofix command

This commit is contained in:
github-actions[bot] 2026-05-10 18:05:26 +00:00
parent e28260cf40
commit 79e75e6115
2 changed files with 2 additions and 8 deletions

View file

@ -127,11 +127,7 @@ function pickUniqueGlobalCallable(
if (def.type !== 'Function' && def.type !== 'Method' && def.type !== 'Constructor') continue;
// Skip file-local defs (e.g. C `static` functions) that live in a
// different file from the caller — they are logically invisible.
if (
isFileLocalDef !== undefined &&
def.filePath !== callerFilePath &&
isFileLocalDef(def)
) {
if (isFileLocalDef !== undefined && def.filePath !== callerFilePath && isFileLocalDef(def)) {
continue;
}
const key = logicalCallableKey(def);

View file

@ -102,9 +102,7 @@ describe('C static function isolation', () => {
// caller.c should NOT have a CALLS edge to a.c's static helper.
// Filter edges to only those originating from main → helper to
// verify the correct target file.
const mainToHelper = calls.filter(
(r) => r.source === 'main' && r.target === 'helper',
);
const mainToHelper = calls.filter((r) => r.source === 'main' && r.target === 'helper');
// If a main→helper edge exists, it should point to b.c, not a.c
for (const edge of mainToHelper) {
expect(edge.targetFilePath).not.toContain('a.c');