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

fix(mutator): don't mutate string literal object methods #2718

Merged
merged 1 commit into from Jan 27, 2021

Conversation

nicojs
Copy link
Member

@nicojs nicojs commented Jan 27, 2021

Don't mutate object method names that are disguised as string literals. For example:

const foo = {
  "bar.baz"(qux) { }
}

Fixes #2695

Don't mutate object method names that are disguised as string literals. For example:

```ts
const foo = {
  "bar.baz"(qux) { }
}
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: Cannot read property 'buildError' on undefined
1 participant