[go: nahoru, domu]

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 · 0 comments
Open

renaming interface method doesn't rename the implemented class method #6693

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

Comments

@tsuf239
Copy link
Collaborator
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
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