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(string-literal-mutator): don't mutate class property keys #2544

Merged
merged 1 commit into from
Oct 8, 2020

Conversation

nicojs
Copy link
Member

@nicojs nicojs commented Oct 8, 2020

Don't mutate class property keys that are written as a string literal.

class Foo { 
  'bar-baz': 4 // don't mutate
}

Fixes #2543

@nicojs nicojs merged commit 8c8b478 into master Oct 8, 2020
@nicojs nicojs deleted the fix/mutate-class-property-keys branch October 8, 2020 14:40
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.

expressionMutantPlacer could not place mutants with type(s): "StringLiteral"
1 participant