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

Fixing support for recursive ADTs and user-defined implicits #85

Merged
merged 2 commits into from
May 14, 2021

Conversation

ncreep
Copy link
Contributor

@ncreep ncreep commented May 13, 2021

Apparently, the combination of user-defined implicits and recursive ADTs never worked. The code wasn't appropriately preserving laziness.

That is to say, 9.0.0 was also broken in that respect, it's just that it completely ignored user-defined Formats (as opposed to OFormat) values. As a result, the bug wasn't apparent since derived re-derived all of the formats on its own and that was sufficiently lazy. In 10.0.1 we started picking up user-defined implicits, and that revealed the bug.

Fixes #84.

@ncreep
Copy link
Contributor Author

ncreep commented May 13, 2021

Binary compatibility is broken on a package-private method (which should be just private to begin with).

Copy link
Owner

@julienrf julienrf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks for the quick fix!

@julienrf julienrf merged commit aa0c78a into julienrf:master May 14, 2021
@ncreep ncreep deleted the fix-flat-format-bug branch May 18, 2021 12:42
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.

Stack overflow after migration to 10.0.1 from 9.0.0
2 participants