File tree 3 files changed +5
-3
lines changed
scaladoc/src/dotty/tools/scaladoc/tasty
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import scala.quoted._
5
5
import dotty .tools .scaladoc .util .Escape ._
6
6
import scala .util .matching .Regex
7
7
8
- trait JavadocAnchorCreator :
8
+ object JavadocAnchorCreator :
9
9
10
10
private def javadocPrimitive (using Quotes )(sym : quotes.reflect.Symbol ): Option [String ] =
11
11
import quotes .reflect .defn
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import scala.quoted._
5
5
import dotty .tools .scaladoc .util .Escape ._
6
6
import scala .util .matching .Regex
7
7
8
- trait Scaladoc2AnchorCreator :
8
+ object Scaladoc2AnchorCreator :
9
9
10
10
def getScaladoc2Type (using Quotes )(t : quotes.reflect.Tree ) =
11
11
import quotes .reflect .*
Original file line number Diff line number Diff line change @@ -5,8 +5,10 @@ import scala.quoted._
5
5
import dotty .tools .scaladoc .util .Escape ._
6
6
import scala .collection .mutable .{ Map => MMap }
7
7
import dotty .tools .io .AbstractFile
8
+ import Scaladoc2AnchorCreator .getScaladoc2Type
9
+ import JavadocAnchorCreator .getJavadocType
8
10
9
- class SymOps [Q <: Quotes ](val q : Q ) extends JavadocAnchorCreator with Scaladoc2AnchorCreator :
11
+ class SymOps [Q <: Quotes ](val q : Q ):
10
12
import q .reflect ._
11
13
12
14
given q .type = q
You can’t perform that action at this time.
0 commit comments