-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[red-knot] Avoid
Ranged
for definition target range (#15118)
## Summary Ref: 3533d7f#r150651102 This PR removes the `Ranged` implementation on `DefinitionKind` and instead uses a method called `target_range` to avoid any confusion about what range this is for i.e., it's not the range of the node that represents the definition.
- Loading branch information
1 parent
113c804
commit 03bb942
Showing
2 changed files
with
10 additions
and
6 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
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