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!: non-helpful max inlines error messages #5

Merged
merged 1 commit into from
Apr 22, 2023
Merged

Conversation

MartinHH
Copy link
Owner

Refactor derivation of Arbitrary-instances so that it is (much) more likely that in case of "Maximal number of successive inlines exceeded", the compiler error message will be the expected one.

This change is somewhat breaking as it increases the inlining steps for products by one, so it slightly reduces the threshold for hitting that limit. (This could have been avoided at the price of writing redundant code, but that didn't seem worth it.)

Refactor derivation of Arbitrary-instances so that it is (much) more
likely that in case of "Maximal number of successive inlines exceeded",
the compiler error message will be the expected one.

This change is somewhat breaking as it increases the inlining steps for
products by one, so it slightly reduces the threshold for hitting that
limit. (This could have been avoided at the price of writing redundant
code, but that didn't seem worth it.)
@MartinHH MartinHH merged commit 637e350 into main Apr 22, 2023
@MartinHH MartinHH deleted the fix/inlining_error branch April 22, 2023 08:19
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