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
String no longer taken as generic SeqOps #14927
Labels
Comments
mcallisto
added
itype:bug
stat:needs triage
Every issue needs to have an "area" and "itype" label
labels
Apr 13, 2022
romanowski
added
area:implicits
related to implicits
and removed
stat:needs triage
Every issue needs to have an "area" and "itype" label
labels
Apr 13, 2022
odersky
added
the
regression
This worked in a previous version but doesn't anymore
label
May 26, 2022
Can be get a bisection for this one? It looks like a fairly serious regression. |
Running on latest main I get a different error message:
|
I note it does not work for Scala 2.13 either. I get
I believe the 3.1.1 behavior was a spurious error. Which conversion do we think should be inserted to make this work? |
odersky
added
stat:needs info
and removed
itype:bug
regression
This worked in a previous version but doesn't anymore
labels
May 30, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiler version
Scala 3.1.2
Minimized code
Output
Expectation
In Scala 3.1.1 and before the code compiles just fine.
As mentioned by @nicolasstucki here where first reported https://users.scala-lang.org/t/scala-3-1-2-change-string-no-longer-working-with-seqops/8424, the issue seems to be related with the implicit conversion from
String
intoSeq[Char]
.The text was updated successfully, but these errors were encountered: