Add explicit result type to some non-private methods#10435
Add explicit result type to some non-private methods#10435som-snytt merged 1 commit intoscala:2.13.xfrom
Conversation
|
I wonder if |
I did not try that. Not sure how. I identified them using TASTy MiMa. |
|
I see Also because |
35af340 to
018027c
Compare
|
I did not include the explicit types for |
|
There's a similar case at scala/scala-xml#655 Currently, I think a warning for this case under |
|
@lrytz I'm about to try your other suggestion to make |
Add explicit result type to methods where Scala 2 and Scala 3 disagree with the inferred type. The aim is to have the same type in the Scala 2 pickles and the Scala 3 TASTy. These where identified in scala/scala3#17975
018027c to
98cf6f7
Compare
|
Resoved a conflict in |
Add explicit result type to methods where Scala 2 and Scala 3 disagree with the inferred type. The aim is to have the same type in the Scala 2 pickles and the Scala 3 TASTy. Follow up of scala#10435 These where identified in and tested in * scala/scala3#18032 * scala/scala3#18029 * scala/scala3#17975 (BitSet)
…result-types Add explicit result type to some non-private methods
Add explicit result type to methods where Scala 2 and Scala 3 disagree with the inferred type. The aim is to have the same type in the Scala 2 pickles and the Scala 3 TASTy. Follow up of scala/scala#10435 These where identified in and tested in * scala#18032 * scala#18029 * scala#17975 (BitSet)
…result-types Add explicit result type to some non-private methods
Add explicit result type to methods where Scala 2 and Scala 3 disagree with the inferred type. The aim is to have the same type in the Scala 2 pickles and the Scala 3 TASTy. Follow up of scala/scala#10435 These where identified in and tested in * #18032 * #18029 * #17975 (BitSet)
Add explicit result type to methods where Scala 2 and Scala 3 disagree with the inferred type. The aim is to have the same type in the Scala 2 pickles and the Scala 3 TASTy.
These where identified in scala/scala3#17975