Skip to content

Type projection on parameterized refinement fails pickling test #7445

Open
@Katrix

Description

@Katrix

minimized code

type O1[A] = {
  type OutInner[Ts] <: Tuple = Ts match {
    case Unit   => Unit
    case h *: t => h *: OutInner[t]
  }
  
  type Out = OutInner[A]
}

def f1: O1[(Int, Int)]#Out = ???

expectation

The code works fine. If no partial application is used it works fine.
https://scastie.scala-lang.org/IhFycVEdRVmJOjSAtXCw6Q

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:picklingbacklogNo work planned on this by the core team for the time being.itype:bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions