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

Un-inline Mirror in derive for layer #7889

Merged
merged 1 commit into from
Mar 1, 2023

Conversation

Kordyjan
Copy link
Contributor

@Kordyjan Kordyjan commented Mar 1, 2023

Inline parameters are not stable paths, so they cannot be used in path-dependent types. Up to Scala 3.3.0-RC2, there was a bug in the compiler, and the problem was not reported.

There is one inline parameter used in path-dependent type in the ZIO codebase. It needs to be un-inlined before it is compiled with 3.3.0.

I'm not aware of any potential problems with compatibility, but I still advise merging it into a first version compiled with 3.3.0.

@CLAassistant
Copy link

CLAassistant commented Mar 1, 2023

CLA assistant check
All committers have signed the CLA.

@jdegoes
Copy link
Member

jdegoes commented Mar 1, 2023

@Kordyjan Thanks for catching this. 🙏 Will merge as soon as the tests pass!

@adamgfraser adamgfraser merged commit 5cb905b into zio:series/2.x Mar 1, 2023
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.

None yet

4 participants