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

Fix empty collection typing bug #941

Merged
merged 1 commit into from
Oct 11, 2024
Merged

Fix empty collection typing bug #941

merged 1 commit into from
Oct 11, 2024

Conversation

KevinDCarlson
Copy link
Contributor

Commit 3f95da1 introduced a regression for constructing Yoneda in the case of a schema that has an AttrTypes with no Attrs pointing to it, which surprisingly enough is sometimes useful (in case you want to migrate from a schema with AttrTypes to one without for migrations including code.) The problem was that union has no method for empty input since it can't decide on the output type, because typing Julia collections in empty cases is our entire job here. I fixed it.

@epatters
Copy link
Member

epatters commented Oct 11, 2024

Tests are failing for an unrelated reason (#942). Let's hold off for the moment and try to fix that.

@AlgebraicJulia AlgebraicJulia deleted a comment from github-actions bot Oct 11, 2024
@epatters epatters merged commit 41e583f into main Oct 11, 2024
11 checks passed
@epatters epatters deleted the fixIsolatedAttrtypeBug branch October 11, 2024 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants