Skip to content

fix: classic-decorator-no-classic-methods matching private identifiers#2363

Merged
NullVoxPopuli merged 2 commits intoember-cli:masterfrom
c0rydoras:fix/classic-decorator-no-classic-methods/private-identifiers
Jan 22, 2026
Merged

fix: classic-decorator-no-classic-methods matching private identifiers#2363
NullVoxPopuli merged 2 commits intoember-cli:masterfrom
c0rydoras:fix/classic-decorator-no-classic-methods/private-identifiers

Conversation

@c0rydoras
Copy link
Copy Markdown
Contributor

class Example extends Component {
  #set = (name, value) => {
    ...
  }

  setFoo = (value) => {
    ...
    this.#set('foo', value); // this.#set is perfectly fine, but currently the rule disallows it
    ...
  }

  <template>
  ...
  </template>
}

@NullVoxPopuli NullVoxPopuli merged commit 6f85547 into ember-cli:master Jan 22, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants