Skip to content

companion expansion through macro annotation stop working in scaladoc compile 2.13-M4 #11045

Closed
@kailuowang

Description

@kailuowang

Example project created here:
https://github.com/kailuowang/simulacrum_213

It uses simulacrum’s @typeclass annotation which expands the companion with some extra methods.

@typeclass
trait TC[A]

object TC {
  implicit val stingTC: TC[String] = null
}

object Test {
  val c = TC[String] //fails on `sbt doc` on 2.13.0-M4
}

It works fine in sbt compile, it also works fine on sbt doc on Scala 2.12

cc @mpilquist

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions