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

Widen Quats during type-checking #452

Merged
merged 1 commit into from
May 21, 2024
Merged

Widen Quats during type-checking #452

merged 1 commit into from
May 21, 2024

Conversation

deusaquilus
Copy link
Contributor

@deusaquilus deusaquilus commented May 21, 2024

Warning for QuatMaking existsEncoderFor non-existant decoder/encoder combo is too aggressive. Put it behind a switch.

Also, widen the type first to help in collection summoning scenarios e.g. concatMap(x => y) on a List[T] which needs a CBF instance e.g. arrayUuidDecoder. Currently it tries summoning y.type i.e. the actual variable-type which is wrong.

@deusaquilus deusaquilus merged commit 1753850 into master May 21, 2024
5 checks passed
@deusaquilus deusaquilus deleted the widen-quat-types branch May 21, 2024 22:13
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