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

[rename] out of sync still happens #183

Open
hiaux0 opened this issue Feb 17, 2022 · 2 comments
Open

[rename] out of sync still happens #183

hiaux0 opened this issue Feb 17, 2022 · 2 comments

Comments

@hiaux0
Copy link
Member

hiaux0 commented Feb 17, 2022

#174

  1. rename var1 (to shorter name)
  2. rename var2
  3. bug: breaks code
@hiaux0 hiaux0 added the renames label Feb 17, 2022
@hiaux0
Copy link
Member Author

hiaux0 commented Mar 6, 2022

Tried to play around, but cannot repro

@customElement({ name: 'custom-element', template })
export class CustomElementCustomElement {
  @bindable foo: string = '';
  @bindable bar;


  hello(arg?: any) {}

  qux;


  thisisnothing;
  okaynext;


  useFoo() {
    this.foo;

    this.qux

    this.hello(this.thisisnothing);
    this.thisisnothing; this.okaynext;
  }
}

@hiaux0
Copy link
Member Author

hiaux0 commented Mar 11, 2022

Another angle:

  1. do some editing
  2. dont save
  3. rename
  4. broken code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant