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(instrumenter): don't mutate TS generics #3268

Merged
merged 3 commits into from
Nov 20, 2021
Merged

Conversation

nicojs
Copy link
Member

@nicojs nicojs commented Nov 20, 2021

Don't mutate generic declarations, like {color} {position} in

function foo<T extends `{color} {position}`>() {
}

Fixes #3253

Don't mutate generic declarations, like `{color} {position}` in

 ```ts
 function foo<T extends \`{color} {position}\`>() {
 }
 ```
@nicojs nicojs enabled auto-merge (squash) November 20, 2021 21:08
@nicojs nicojs disabled auto-merge November 20, 2021 21:55
@nicojs nicojs merged commit 88d6eaf into master Nov 20, 2021
@nicojs nicojs deleted the fix/instrument-generics branch November 20, 2021 23:09
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