-
Notifications
You must be signed in to change notification settings - Fork 21
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
2.13.9 Good code error: x in variable x is never used. #12646
Comments
Reproduction is trivial:
and
|
Is this as expected for the private accessor method? It seems that this PR has changed this behavior. |
The unused thing is the synthetic parameter to the setter. What? |
Fix in linked PR. The strangeness has to do with fields in traits. I'm not sure why the parameter symbol is the setter ( |
eikek
added a commit
to SwissDataScienceCenter/renku-graph
that referenced
this issue
Oct 6, 2022
Some source changes are required: - Infering the type `Any` is now emitting a warning. All occurences have been annotated explicitely or the type parameters have been corrected. - Working around issue scala/bug#12646 by moving a `var` from a `trait` into a `class`
eikek
added a commit
to SwissDataScienceCenter/renku-graph
that referenced
this issue
Oct 6, 2022
Some source changes are required: - Infering the type `Any` is now emitting a warning. All occurences have been annotated explicitely or the type parameters have been corrected. - Working around issue scala/bug#12646 by moving a `var` from a `trait` into a `class`
eikek
added a commit
to SwissDataScienceCenter/renku-graph
that referenced
this issue
Oct 7, 2022
Some source changes are required: - Infering the type `Any` is now emitting a warning. All occurences have been annotated explicitely or the type parameters have been corrected. - Working around issue scala/bug#12646 by moving a `var` from a `trait` into a `class`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproduction steps
akka/akka#31615
Scala version: 2.13.9
Problem
I think the code is fine, but not ok when compile it with 2.13.9
Other issues:
_log
not_log_
.parameter
The text was updated successfully, but these errors were encountered: