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 @@ -57,9 +57,9 @@ trait InkuireSupport:
57
57
extension (tpe : TypeRepr )
58
58
def asInkuire (vars : Set [String ]): Inkuire .TypeLike = inner(tpe, vars)
59
59
60
- private def genDummyTypeArgs (n : Int ) =
60
+ private def genSyntheticTypeArgs (n : Int ) =
61
61
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 )}"
63
63
val name = s " X $i"
64
64
Inkuire .Type (
65
65
name = Inkuire .TypeName (name),
@@ -72,7 +72,7 @@ trait InkuireSupport:
72
72
// TODO [Inkuire] Type bounds (other than just HKTs)
73
73
val name = argument.symbol.normalizedName
74
74
val normalizedName = if name.matches(" _\\ $\\ d*" ) then " _" else name
75
- val params = genDummyTypeArgs (typeVariableDeclarationParamsNo(argument))
75
+ val params = genSyntheticTypeArgs (typeVariableDeclarationParamsNo(argument))
76
76
val res = Inkuire .Type (
77
77
name = Inkuire .TypeName (normalizedName),
78
78
itid = argument.symbol.itid,
You can’t perform that action at this time.
0 commit comments