Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only rename identifiers that are textually equal #491

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 6, 2020

  1. Only rename identifiers that are textually equal

    It is possible to have an arrow between two identifiers that are not
    textually equivalent (definitely possible in DrRacket, and theoretically
    possible in Racket Mode).
    
    In the above event, renaming one identifier should not change the other.
    
    See also racket/drracket#415 for a similar fix in DrRacket, and
    racket/racket#3391 which would start to make Racket Mode behave
    incorrectly. In particular, with the above PR, renaming
    the identifier `a` in the following program should not rename
    `all-defined-out` as well.
    
        #lang racket
        (provide (all-defined-out))
        (define a 1)
    sorawee committed Sep 6, 2020
    Configuration menu
    Copy the full SHA
    0273d31 View commit details
    Browse the repository at this point in the history