Skip to content

Renaming required identifier changes require path #491

Open
@LLazarek

Description

@LLazarek

Renaming a required identifier changes the module path in that file's require.

Example: two files, a.rkt and b.rkt

;; a.rkt
#lang racket
(provide a)
(define a 5)

;; b.rkt
#lang racket
(require "a.rkt")
(+ a 2)

Opening b.rkt, right clicking on a on line 3, and renaming it to foo changes the line 2 of b.rkt to (require foo).

What I expected: it would leave the require path alone.

Racket version: 8.1.0.7 [cs]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcheck-syntaxissues related to check-syntax, background expansion, drawing nifty arrows, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions