Commit 824295e
authored
Don't render the "$" for module (#17302)
In this PR:
- I deleted the $ in the file `NameNormalizer`
-
The ownerNameChain extension method generates a list of normalized owner
names for a symbol, starting with the immediate owner and ending with
the top-level owner.
The normalizedFullName extension method combines the results of
ownerNameChain into a single string with "." separators.
### Before:
<img width="800" alt="Screenshot 2023-04-24 at 13 06 12"
src="https://user-images.githubusercontent.com/44496264/233979570-da502b7a-58c0-4486-a4bc-91fd5ea94e5b.png">
<img width="800" alt="Screenshot 2023-04-24 at 13 06 21"
src="https://user-images.githubusercontent.com/44496264/233979575-d7dbc0a9-db40-4e07-ad42-731ed17700e2.png">
### After:
<img width="800" alt="Screenshot 2023-04-24 at 13 07 35"
src="https://user-images.githubusercontent.com/44496264/233979596-ad5f032d-92e5-4673-af5d-6b75a0649466.png">
<img width="800" alt="Screenshot 2023-04-24 at 13 07 42"
src="https://user-images.githubusercontent.com/44496264/233979600-677d188d-6a9c-45c4-89ee-ea7b0b2bc010.png">
Fixes: #15880File tree
2 files changed
+13
-1
lines changed- scaladoc/src/dotty/tools/scaladoc/tasty
2 files changed
+13
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
532 | | - | |
| 532 | + | |
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
| |||
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
20 | 32 | | |
21 | 33 | | |
22 | 34 | | |
| |||
0 commit comments