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 =>
6
6
import qctx .reflect ._
7
7
extension (s : Symbol ) def normalizedName : String = {
8
8
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
11
10
val constructorNormalizedName = if s.isClassConstructor then " this" else withoutObjectSuffix
12
11
constructorNormalizedName
13
12
}
You can’t perform that action at this time.
0 commit comments