You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- [E008] NotFoundError:Hello.scala:4:15----------------------------------------------------------------------------------------------------------------------------------------------------------------------------4|valx1=1+: view
|^^^^^^^| value +: is not a member of scala.collection.IndexedSeqView[Int] - did you mean view.++? or perhaps view.++: or view./:?-- [E008] NotFoundError:Hello.scala:5:18----------------------------------------------------------------------------------------------------------------------------------------------------------------------------5|valx2= view :+1|^^^^^^^| value :+ is not a member of scala.collection.IndexedSeqView[Int] - did you mean view.++? or perhaps view.:\?2 errors found
Expectation
It should compile.
The text was updated successfully, but these errors were encountered:
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.
Compiler version
main
Minimized code
To reproduce, set the stdlib to the capture checked one and compile the snippet:
Output
Expectation
It should compile.
The text was updated successfully, but these errors were encountered: