Skip to content

Improve encoding of used types.#26

Merged
peterhuene merged 1 commit intomainfrom
fixes
Dec 12, 2023
Merged

Improve encoding of used types.#26
peterhuene merged 1 commit intomainfrom
fixes

Conversation

@peterhuene
Copy link
Copy Markdown
Member

This PR fixes encoding of used types such that renamed types now properly encode.

Used types are now stored in a map from export/import name to used interface (along with the original export name when renamed).

Additionally, todo! placeholders were added for merging non-interface imports, which will be needed in the near future.

Also removed some redundant code in package decoding and improved the debug log output of the local package resolver.

This commit fixes encoding of used types such that renamed types now properly
encode.

Used types are now stored in a map from export/import name to used interface
(along with the original export name when renamed).

Additionally, `todo!` placeholders were added for merging non-interface
imports, which will be needed in the near future.

Also removed some redundant code in package decoding and improved the debug log
output of the local package resolver.
@peterhuene peterhuene merged commit 0e7701a into main Dec 12, 2023
@peterhuene peterhuene deleted the fixes branch December 12, 2023 20:34
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.

2 participants