Skip to content

airframe-surface: TastySurfaceFactory fails to process case object #2928

@xerial

Description

@xerial
sealed trait TaskStatus {
  def isDone: Boolean
  def name: String = toString
}

object TaskStatus {
  case object RUNNING extends TaskStatus
}
2023-05-04 01:22:30.448-0700 debug [TastySurfaceFactory] ofClass: class wvlet.dataflow.api.v1.TaskStatus$RUNNING$  - (TastySurfaceFactory.scala:21) => wvlet.dataflow.server.coordinator.TaskManagerTest 1s
2023-05-04 01:22:30.448-0700 debug [TastySurfaceFactory] Update cache for class wvlet.dataflow.api.v1.TaskStatus$RUNNING$  - (TastySurfaceFactory.scala:24)
2023-05-04 01:22:30.455-0700 debug [TastySurfaceFactory] TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class v1)),object TaskStatus),RUNNING$)  - (TastySurfaceFactory.scala:29)
an unexpected type representation reached the compiler backend while compiling <quoted.Expr>: NoType. If possible, please file a bug on https://github.com/lampepfl/dotty/issues
Error while emitting <quoted.Expr>
scala.MatchError: NoType (of class dotty.tools.dotc.core.Types$NoType$) while running genBCode on <quoted.Expr>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions