Skip to content

Fix propagation of imported witnesses#2468

Closed
plajjan wants to merge 1 commit into
mainfrom
fix-wits
Closed

Fix propagation of imported witnesses#2468
plajjan wants to merge 1 commit into
mainfrom
fix-wits

Conversation

@plajjan
Copy link
Copy Markdown
Contributor

@plajjan plajjan commented Oct 4, 2025

Teach subImp to run importWits for every dependency discovered in a module interface so protocol extensions from transitive imports are loaded into env.

Teach `subImp` to run `importWits` for every dependency discovered in a module
interface so protocol extensions from transitive imports are loaded into env.
@plajjan plajjan marked this pull request as draft October 5, 2025 11:36
@plajjan
Copy link
Copy Markdown
Contributor Author

plajjan commented Oct 5, 2025

I think this is on the right path but not enough, I think?? that importWits might be broken, can't quite place it, but think the env is different depending on whether we compiled a file, and thus including it in the env, vs if we read from .ty file.. marking as draft.

@plajjan
Copy link
Copy Markdown
Contributor Author

plajjan commented Oct 7, 2025

Closing in preference of #2469.

@plajjan plajjan closed this Oct 7, 2025
@plajjan plajjan deleted the fix-wits branch October 7, 2025 19:42
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.

1 participant