Issues with Scala 2.13.7
See original GitHub issueHi all, I think it’s a bit weird that my code is not compiling with 2.13.7 but it does with 2.13.6.
Specifically with the following:
val list = get(zero) {
Ok(List(1, 2, 3).asJson)
}
I now get
[error] /Users/pippo/personal/scala/web-frameworks-templates/finch/src/main/scala/WebServer.scala:22:17: overloaded method apply with alternatives:
[error] (mapper: io.finch.internal.Mapper[cats.effect.IO,shapeless.HNil])io.finch.Endpoint[cats.effect.IO,mapper.Out] <and>
[error] (input: io.finch.Input)io.finch.Endpoint.Result[cats.effect.IO,shapeless.HNil]
[error] cannot be applied to (io.finch.Output[io.circe.Json])
[error] val list = get(zero) {
(the complete code can be found here)
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (3 by maintainers)
Top Results From Across the Web
Release Scala 2.13.7 · Issue #795
if the scala-lang changes don't show up, possible troubleshooting steps include: see if https://scala-webapps.epfl.ch/jenkins/view/All/job/ ...
Read more >Scala 2.13.7 is now available!
Scala 2.13.7 is now available! ... Support JDK 16 record syntax in Java sources; Improve Android compatibility ... Problem with this page?
Read more >Scala is a Maintenance Nightmare
This post explains why Scala projects are difficult to maintain. Scala is a powerful programming language that can make certain small teams ...
Read more >Scala 2.13.7: Android compatibility improvements, support ...
Even though it's probably less a problem on modern Android devices, Scala has a big standard library and encourages paradigms that favor ...
Read more >Migrating to Scala 2.13
Compiler performance. • Modularizing the standard library. • User-friendliness https://github.com/scala/scala-dev/issues/324. Scala 2.13 Roadmap ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I confirm 2.13.8 fixes it for me. Thanks everyone!
This would have been caught ahead of time (before 2.13.7 was released) if Finch were in the Scala 2 community build.
I’ve opened a PR to add it, here: https://github.com/scala/community-build/pull/1504