Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make duplicate imports cache private #23

Merged
merged 1 commit into from
Apr 15, 2020
Merged

Conversation

travisbrown
Copy link
Owner

@TimWSpence This is a temporary adjustment to the additions in #18 that will let us publish an 0.1.1 today without breaking bincompat for the dhall-imports module. This doesn't change behaviour, it just keeps the duplicate imports cache out of the public API.

After 0.1.1 I've got some bigger changes in mind here that I want to run past you—in particular there are some issues related to visibility (e.g. ResolveImportsVisitor.ImportContext is package-private but Canonicalization.canonicalize is public), and I think ResolveImportsVisitor probably shouldn't be a case class, in part because of bincompat issues, but mostly because it's carrying around the client and Sync instance.

@travisbrown travisbrown merged commit d2b9c9e into master Apr 15, 2020
@travisbrown travisbrown deleted the topic/bincompat branch April 15, 2020 10:05
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