rope icon indicating copy to clipboard operation
rope copied to clipboard

Rename refactoring should rename in string type annotation

Open lieryan opened this issue 4 years ago • 0 comments

class B: pass

class C(object):

    var: 'B' = 1
    def foo(self, arg: "B"):
        self.var: 'List[B]' = [arg]
        var: "Optional[B]" = arg

Renaming B should rename the variables used in type annotations.

lieryan avatar Sep 07 '21 21:09 lieryan