-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Regression in recursive pickling of abstract type members #15174
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
Labels
Milestone
Comments
Started failing in |
First bad commit ae1b00d |
When turning the error into an assertion failure, I see:
So something is clearly fishy here: We pass an argument Maybe the level logic for type variables should catch this? /cc @smarter |
smarter
added a commit
to dotty-staging/dotty
that referenced
this issue
May 18, 2022
We need to manually increase the nestingLevel of symbols created by EtaExpansion#lift to compensate for the fact that they will end up in a block. Fixes scala#15174.
smarter
added a commit
to smarter/dotty
that referenced
this issue
May 19, 2022
We need to manually increase the nestingLevel of symbols created by EtaExpansion#lift to compensate for the fact that they will end up in a block. Fixes scala#15174.
bishabosha
pushed a commit
to dotty-staging/dotty
that referenced
this issue
May 20, 2022
We need to manually increase the nestingLevel of symbols created by EtaExpansion#lift to compensate for the fact that they will end up in a block. Fixes scala#15174.
bishabosha
pushed a commit
to dotty-staging/dotty
that referenced
this issue
Oct 18, 2022
We need to manually increase the nestingLevel of symbols created by EtaExpansion#lift to compensate for the fact that they will end up in a block. Fixes scala#15174.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Uh oh!
There was an error while loading. Please reload this page.
It seems that currently compiler is more strict and does not handle well recursive/lazy references to type classes. In case
Codec#AvroType
is not an abstract type member the snippet would compile.Based on https://github.com/fd4s/vulcan/blob/aa857bab732b4f8b52e56473b0626b5403eef42d/modules/core/src/test/scala/vulcan/CodecSpec.scala#L1657-L1670
Compiler version
3.1.2, works with 3.1.1
First bad commit ae1b00d
Minimized code
Output
Expectation
The snippet should compile like in the 3.1.1
The text was updated successfully, but these errors were encountered: