Skip to content

fix: resolve embedded interface imports per file - #324

Open
mmsqe wants to merge 2 commits into
uber-go:mainfrom
mmsqe:file-scoped-imports
Open

mmsqe wants to merge 2 commits into
uber-go:mainfrom
mmsqe:file-scoped-imports

Conversation

@mmsqe

@mmsqe mmsqe commented Oct 6, 2026

Copy link
Copy Markdown

bind each interface to the imports of the file that declares it

closes #226

mmsqe added 2 commits October 6, 2026 10:44
bind each interface to the imports of the file that declares it
A foo_test source embeds foo_test's interface. The import path still
prefers the non-test package.
@CLAassistant

CLAassistant commented Oct 6, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

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.

Return ambiguous because of duplicate imports of unused package in sourceMode

2 participants