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 interface method doesn't rename the implemented class method #6693

Open
tsuf239 opened this issue Jun 13, 2024 · 1 comment
Open
Labels
🐛 bug Something isn't working 🔌 vscode-extension Issues related to the Wing VS Code extension

Comments

@tsuf239
Copy link
Contributor

tsuf239 commented Jun 13, 2024

I tried this:

A bug opened during the work on #6637

  interface ICat {
      inflight stepOnKeyboard(): str;
                     //^
    }
    
    class Cat impl ICat {
      pub inflight stepOnKeyboard(): str {
                 
         return "/..,.o0e";
      }
    }
    
    let hershy = new Cat();
    
    test "cat misbehaves" {
      hershy.stepOnKeyboard();
    }

This happened:

Nothing
(since not implemented yet)

I expected this:

renaming ICat.stepOnKeyboard should trigger a rename Cat.stepOnKeyboard and hershy.stepOnKeyboard as well (and vice versa)

Is there a workaround?

No response

Anything else?

No response

Wing Version

No response

Node.js Version

No response

Platform(s)

No response

Community Notes

  • Please vote by adding a 👍 reaction to the issue to help us prioritize.
  • If you are interested to work on this issue, please leave a comment.
@tsuf239 tsuf239 added 🐛 bug Something isn't working 🔌 vscode-extension Issues related to the Wing VS Code extension labels Jun 13, 2024
@tsuf239 tsuf239 self-assigned this Jun 13, 2024
Copy link

Hi,

This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days.
Feel free to re-open this issue when there's an update or relevant information to be added.
Thanks!

@github-actions github-actions bot added the Stale label Sep 12, 2024
@tsuf239 tsuf239 removed the Stale label Sep 12, 2024
@tsuf239 tsuf239 removed their assignment Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working 🔌 vscode-extension Issues related to the Wing VS Code extension
Projects
Status: 🤝 Backlog - handoff to owners
Development

No branches or pull requests

1 participant