-
Notifications
You must be signed in to change notification settings - Fork 176
Open
Labels
bugUnexpected or incorrect user-visible behaviorUnexpected or incorrect user-visible behavior
Description
Describe the bug
I'm getting the error:
...lib/python3.12/site-packages/rope/refactor/patchedast.py:82: RuntimeWarning: Unknown node type <TypeAlias>; please report!
- Describe the refactoring you want to do
I'm trying to rename a file, containing PEP 695 type alias.
- Expected code after refactoring:
The same code, but in another file, and with all imports fixed.
- Describe the error or unexpected result that you are getting
...lib/python3.12/site-packages/rope/refactor/patchedast.py:82: RuntimeWarning: Unknown node type <TypeAlias>; please report!
then a long stracktrace and:
rope.refactor.patchedast.MismatchedTokenError: Token <def> at (291, 81) cannot be matched
Metadata
Metadata
Assignees
Labels
bugUnexpected or incorrect user-visible behaviorUnexpected or incorrect user-visible behavior