File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
scaladoc/src/dotty/tools/scaladoc/tasty Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -70,9 +70,9 @@ trait InkuireSupport:
7070 extension (tpe : TypeRepr )
7171 def asInkuire (vars : Set [String ]): Inkuire .TypeLike = inner(tpe, vars)
7272
73- private def genSyntheticTypeArgs (n : Int ) =
73+ private def genSyntheticTypeArgs (n : Int , resSymbol : Symbol ) =
7474 1 .to(n).map { i =>
75- val uuid = s " synthetic-arg $i${Random .nextString( 10 ) }"
75+ val uuid = s " synthetic-arg $i${resSymbol.hashCode }"
7676 val name = s " X $i"
7777 Inkuire .Type (
7878 name = Inkuire .TypeName (name),
@@ -85,7 +85,7 @@ trait InkuireSupport:
8585 // TODO [Inkuire] Type bounds (other than just HKTs)
8686 val name = argument.symbol.normalizedName
8787 val normalizedName = if name.matches(" _\\ $\\ d*" ) then " _" else name
88- val params = genSyntheticTypeArgs(typeVariableDeclarationParamsNo(argument))
88+ val params = genSyntheticTypeArgs(typeVariableDeclarationParamsNo(argument), argument.symbol )
8989 val res = Inkuire .Type (
9090 name = Inkuire .TypeName (normalizedName),
9191 itid = argument.symbol.itid,
You can’t perform that action at this time.
0 commit comments