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

This commit is contained in:
github-actions[bot] 2026-05-10 17:31:47 +00:00
parent 99f5cf60e2
commit b62db4a5f2
3 changed files with 3 additions and 9 deletions

View file

@ -27,8 +27,4 @@ export { interpretJavaImport, interpretJavaTypeBinding } from './interpret.js';
export { javaMergeBindings } from './merge-bindings.js';
export { javaArityCompatibility } from './arity.js';
export { resolveJavaImportTarget, type JavaResolveContext } from './import-target.js';
export {
javaBindingScopeFor,
javaImportOwningScope,
javaReceiverBinding,
} from './simple-hooks.js';
export { javaBindingScopeFor, javaImportOwningScope, javaReceiverBinding } from './simple-hooks.js';

View file

@ -51,7 +51,5 @@ export function javaImportOwningScope(
/** Look up `this` or `super` in the function scope's type bindings. */
export function javaReceiverBinding(functionScope: Scope): TypeRef | null {
if (functionScope.kind !== 'Function') return null;
return (
functionScope.typeBindings.get('this') ?? functionScope.typeBindings.get('super') ?? null
);
return functionScope.typeBindings.get('this') ?? functionScope.typeBindings.get('super') ?? null;
}

View file

@ -1,7 +1,7 @@
/**
* Java: class extends + implements multiple interfaces + ambiguous package disambiguation
*/
import { describe, it as vitestIt, expect, beforeAll } from 'vitest';
import { describe, expect, beforeAll } from 'vitest';
import path from 'path';
import {
FIXTURES,