Skip to content

Fix bugs in handling FunctionT and ConstructorT #300

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 1 commit into from
Jul 18, 2025
Merged

Fix bugs in handling FunctionT and ConstructorT #300

merged 1 commit into from
Jul 18, 2025

Conversation

jhnaldo
Copy link
Contributor

@jhnaldo jhnaldo commented Jul 18, 2025

We found a bug in the type checker through the ecma262 CI for tc39/ecma262#3653.
This occurs due to the incorrect handling of types for function object and constructor.
To correctly handle them, it revised the intersection and normalization of record types.

@jhnaldo jhnaldo merged commit 66203ce into dev Jul 18, 2025
6 checks passed
@jhnaldo jhnaldo deleted the fix-typing branch July 18, 2025 17:58
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.

1 participant