Skip to content

fix: prevent unresolved imports from capturing unrelated exports - #124

Open
masonjames wants to merge 1 commit into
bartolli:mainfrom
masonjames:fix/unresolved-import-fallback
Open

masonjames wants to merge 1 commit into
bartolli:mainfrom
masonjames:fix/unresolved-import-fallback

Conversation

@masonjames

Copy link
Copy Markdown
Contributor

Description

Fixes #122. An unresolved bare import now stops before global name fallback, preventing a deleted target from capturing another repository's export. Existing local-scope resolution retains precedence.

Type of Change

  • Bug fix

Testing

  • Regression covers TypeScript and JavaScript, regular and arrow callers, incremental deletion and force rebuild.
  • quick-check.sh and full-test.sh pass.
  • No index-format or API changes; the added check is an import-binding lookup on bare calls.

Checklist

  • Guidelines followed; self-reviewed.
  • No new warnings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unresolved relative import resolves to another repository after target deletion

1 participant