Access underlying type of sequence (Scala)

前端 未结 0 783
感动是毒
感动是毒 2021-01-18 15:23
package p {
 trait A{ type B }
}

trait C {
  val D: Seq[p.A]

  def m(t: D. ...) = ???
}

I would like to refer to type p.A through

相关标签:
回答
  • 消灭零回复
提交回复
热议问题