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 GenCRepr to work with changes to derived Generic instance #25

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

krame505
Copy link
Contributor

@krame505 krame505 commented Feb 5, 2024

See B-Lang-org/bsc#670.

A minor change was needed in the GenCRepr library, for it to work as expected with the changes to derived Generic instances.

@quark17
Copy link
Collaborator

quark17 commented Feb 6, 2024

I'm surprised that the checks passed for this PR. The checks are using the old BSC (without the chain-to-tree change), so I would have expected the checks for this PR to fail, until the BSC is updated. Do you understand what's going on?

@quark17 quark17 merged commit a178a2d into B-Lang-org:main Feb 6, 2024
11 checks passed
@krame505
Copy link
Contributor Author

krame505 commented Feb 6, 2024

This new version should work regardless of how the Either chain/tree is structured, as long as the constructors appear in same order. So I'm not surprised it still works with the old derived Generic instances.

@krame505 krame505 deleted the generics-either-tree branch February 6, 2024 21:20
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