Skip to content

JS: Fix extractor crash related to recursive generic type alias #12921

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

Merged
merged 7 commits into from
Apr 26, 2023

Conversation

asgerf
Copy link
Contributor

@asgerf asgerf commented Apr 25, 2023

Fixes a bug that would cause the extractor to hang in some cases for generic, recursive type aliases (see test cases).

Evaluation was quiet

Commit-by-commit review recommended

@github-actions github-actions bot added the JS label Apr 25, 2023
@asgerf asgerf force-pushed the js/typescript-compiler-crash branch 2 times, most recently from 2cca76d to 866227f Compare April 26, 2023 09:44
@asgerf asgerf force-pushed the js/typescript-compiler-crash branch from 866227f to a446c54 Compare April 26, 2023 09:45
@asgerf asgerf marked this pull request as ready for review April 26, 2023 10:55
@asgerf asgerf requested a review from a team as a code owner April 26, 2023 10:55
@erik-krogh erik-krogh self-assigned this Apr 26, 2023
Copy link
Contributor

@erik-krogh erik-krogh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

I'm not sure which part of your change fixed the infinite loop (or whether it's all of them).
But the changes looks good regardless 👍

I can confirm that the code-base that the test came from now builds just fine.

@asgerf asgerf merged commit b696936 into github:main Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants