question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issues with Scala 2.13.7

See original GitHub issue

Hi 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:closed
  • Created 2 years ago
  • Comments:15 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
mfirrycommented, Jan 11, 2022

I confirm 2.13.8 fixes it for me. Thanks everyone!

2reactions
SethTisuecommented, Nov 2, 2021

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found