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

Renaming issues when fields have same name #1155

Closed
sewbacca opened this issue May 18, 2022 · 0 comments
Closed

Renaming issues when fields have same name #1155

sewbacca opened this issue May 18, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@sewbacca
Copy link
Contributor

sewbacca commented May 18, 2022

Describe the bug
When fields are set equal to other fields with same name, renaming causes wrong renaming.

To Reproduce
Steps to reproduce the behavior:

local a = { }
local b = { }

a.color = { 1, 1, 1 }
b.color = a.color

Rename b.color to b.colora and see in the same line a.color change to a.colora

Expected behavior
Only b.color change to b.colora

Screenshots
Renaming issue
Note: ---@class ... doesn't matter.

Environment:

  • OS: Windows
  • No WSL
  • Client: VSCode

Additional context
I turned of all intellisense features in settings.json and the error remains.

@sumneko sumneko added the bug Something isn't working label May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants