Closed nicolasstucki closed 8 months ago
So I checked the issue and discovered that this is actually not a bug in the capture checker and an outcome of a change made in the capture checked stdlib. In the original stdlib, the updated
function of IndexedSeqView
comes from the SeqOps
trait. But now IndexedSeqView
extends IndexedSeqViewOps
, which in the end extends IterableOps
instead of SeqOps
, as explained in the comment here.
I'm not quite confident about how it should be fixed. Should we add a method in SeqViewOps
? /cc @odersky
That's a tricky one. Maybe we can add updated
to SeqViewOps
as an inline method? That should be backwards Tasty compatible.
Minimization of
tests/run/t5328.scala
Originally posted by @nicolasstucki in https://github.com/lampepfl/dotty/issues/19652#issuecomment-1935559226