Skip to content

Conversation

Linyxus
Copy link
Contributor

@Linyxus Linyxus commented Mar 4, 2024

fixes #19819, fixes #19652, fixes #19847, supersedes #19858

@Linyxus
Copy link
Contributor Author

Linyxus commented Mar 4, 2024

Now the failing tests are reduced to:

33 suites passed, 3 failed, 36 total tests/neg/syntax-error-recovery.scala failed tests/neg/multi-file-error failed tests/run/enrich-gentraversable.scala failed tests/run/enrich-gentraversable.scala failed

The first two seem to be a problem in my local setup. So there should be one last issue remaining.

@Linyxus Linyxus requested a review from odersky March 5, 2024 15:09
* The helper method [[seqViewIsSeq_]] is added to make the binary compatible.
*/
@annotation.targetName("seqViewIsSeq")
def seqViewIsSeq_[CC0[X] <: SeqView[X], A0]: IsSeq[CC0[A0]] { type A = A0; type C = View[A0] } = ???
Copy link
Contributor

@nicolasstucki nicolasstucki Mar 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
def seqViewIsSeq_[CC0[X] <: SeqView[X], A0]: IsSeq[CC0[A0]] { type A = A0; type C = View[A0] } = ???
@annotation.publicInBinary
private[IsSeq] def seqViewIsSeq_[CC0[X] <: SeqView[X], A0]: IsSeq[CC0[A0]] { type A = A0; type C = View[A0] } = ???
@Linyxus Linyxus merged commit 69c18f5 into scala:main Mar 6, 2024
@Linyxus Linyxus deleted the fix-19819-alt branch March 6, 2024 14:28
@Linyxus Linyxus mentioned this pull request Mar 6, 2024
odersky added a commit that referenced this pull request Mar 23, 2024
fixes #19988 The issue is caused by the change of class hierarchy in Scala 2 library CC: `SeqView` no longer extends `SeqOps`. To fix this we have to copy methods from `SeqOps` to `SeqViewOps`. Similar to what is done in #19873.
@Kordyjan Kordyjan added this to the 3.4.2 milestone Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants