Skip to content

Issues with Scala 2.13.7 #1417

@mfirry

Description

@mfirry

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions