File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
scala3doc/src/dotty/dokka/tasty Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ trait NameNormalizer { self: TastyParser =>
66 import qctx .reflect ._
77 extension (s : Symbol ) def normalizedName : String = {
88 val withoutGivenPrefix = if s.isGiven then s.name.stripPrefix(" given_" ) else s.name
9- val withoutExtensionPrefix = if s.isExtensionMethod then withoutGivenPrefix.stripPrefix(" extension_" ) else withoutGivenPrefix
10- val withoutObjectSuffix = if s.flags.is(Flags .Object ) then withoutExtensionPrefix.stripSuffix(" $" ) else withoutExtensionPrefix
9+ val withoutObjectSuffix = if s.flags.is(Flags .Object ) then withoutGivenPrefix.stripSuffix(" $" ) else withoutGivenPrefix
1110 val constructorNormalizedName = if s.isClassConstructor then " this" else withoutObjectSuffix
1211 constructorNormalizedName
1312 }
You can’t perform that action at this time.
0 commit comments