-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Use final target in alias proxies
The previous comment stating that we should not use the final target because it could be of another kind than the first target makes no sense. If the first target is an alias, then accessing its proxy would access the next one, until the final target one is reached. Aliases chains are just that: chains of aliases with a concrete object at the end. There cannot be a concrete object in the middle, therefore there cannot be different kinds in a chain, only aliases and a single kind at the end.
- Loading branch information
Showing
1 changed file
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters