Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.
This repository was archived by the owner on May 12, 2025. It is now read-only.

Discovery: RenameLocalVariablesToCamelCase does not rename all applicable names. #62

@traceyyoshima

Description

@traceyyoshima

Issue:
Namespace and the location of valid identifiers may differ between languages. RenameLocalVariablesToCamelCase contains logic limiting changes to valid Java locations to prevent unexpected results. JavaScript allows properties to be declared with keywords that change the applicable scope of the named variable let vs. var. Additionally, some JavaScript trees contain identifiers that should be renamed that would not be valid in Java. The "invalid" identifiers are not renamed, which results in incorrect code.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions