-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Regression in recursive pickling of abstract type members #15174
Labels
Milestone
Comments
WojciechMazur
added
itype:bug
stat:needs triage
Every issue needs to have an "area" and "itype" label
labels
May 12, 2022
prolativ
added
area:pickling
regression
This worked in a previous version but doesn't anymore
and removed
stat:needs triage
Every issue needs to have an "area" and "itype" label
labels
May 13, 2022
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
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: