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): support typescript constructors with code before super() #4757

Merged
merged 1 commit into from
Feb 25, 2024

Conversation

nicojs
Copy link
Member

@nicojs nicojs commented Feb 25, 2024

Support constructors in TypeScript that have some code before the super() call and have constructor properties or initialized class properties. In such cases, the block statement mutator is not applied.

For more info, see #4744
Fixes #4744

…super()`

Support constructors in TypeScript that have some code before the `super()` call and have constructor properties or initialized class properties. In such cases, the block statement mutator is not applied.

For more info, see #4744
@nicojs nicojs enabled auto-merge (squash) February 25, 2024 14:58
@nicojs nicojs merged commit bf85d37 into master Feb 25, 2024
13 of 14 checks passed
@nicojs nicojs deleted the fix/some-code-before-super branch February 25, 2024 15:33
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.

Must call super constructor in derived class before accessing 'this' or returning from derived constructor
1 participant