Skip to content

Commit 439c60c

Browse files
committed
Change synthetic type lambda argument itid generation
1 parent b93a9b5 commit 439c60c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scaladoc/src/dotty/tools/scaladoc/tasty/InkuireSupport.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ trait InkuireSupport:
5757
extension (tpe: TypeRepr)
5858
def asInkuire(vars: Set[String]): Inkuire.TypeLike = inner(tpe, vars)
5959

60-
private def genDummyTypeArgs(n: Int) =
60+
private def genSyntheticTypeArgs(n: Int) =
6161
1.to(n).map { i =>
62-
val uuid = s"dummy-arg$i${Random.nextString(10)}"
62+
val uuid = s"synthetic-arg$i${Random.nextString(10)}"
6363
val name = s"X$i"
6464
Inkuire.Type(
6565
name = Inkuire.TypeName(name),
@@ -72,7 +72,7 @@ trait InkuireSupport:
7272
//TODO [Inkuire] Type bounds (other than just HKTs)
7373
val name = argument.symbol.normalizedName
7474
val normalizedName = if name.matches("_\\$\\d*") then "_" else name
75-
val params = genDummyTypeArgs(typeVariableDeclarationParamsNo(argument))
75+
val params = genSyntheticTypeArgs(typeVariableDeclarationParamsNo(argument))
7676
val res = Inkuire.Type(
7777
name = Inkuire.TypeName(normalizedName),
7878
itid = argument.symbol.itid,

0 commit comments

Comments
 (0)