mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-09-22 00:31:17 +00:00
chore(autofix): apply prettier + eslint fixes via /autofix command
This commit is contained in:
parent
99f5cf60e2
commit
b62db4a5f2
3 changed files with 3 additions and 9 deletions
|
|
@ -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';
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue