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

Meta: Upgrade ESMeta to v0.4.3 #3444

Merged
merged 1 commit into from
Oct 11, 2024
Merged

Meta: Upgrade ESMeta to v0.4.3 #3444

merged 1 commit into from
Oct 11, 2024

Conversation

jhnaldo
Copy link
Contributor

@jhnaldo jhnaldo commented Oct 8, 2024

We updated the version of ESMeta to v0.4.3 to resolve the issue es-meta/esmeta#258 by this commit es-meta/esmeta@de9ef68.

With this support, the ESMeta type checker can support the Constructor type as a subtype of the FunctionObject type, and we can remove the OrdinaryCreateFromConstructor in the esmeta-ignore.json file.

However, because of the precise constructor type, we need to add the TypedArrayCreateFromConstructor algorithm in the esmeta-ignore.json file. It happens the current ESMeta type checker does not support type refinement for algorithm invocation. For example, we need to refine the type of C into Constructor when the return value of IsConstructor(C) is true. We are actively working on a more advanced type analysis technique to resolve this problem in a general way. We will update ESMeta with this new system in few weeks.

@ljharb ljharb added the meta label Oct 9, 2024
@michaelficarra michaelficarra requested a review from a team October 10, 2024 04:23
@michaelficarra michaelficarra added the ready to merge Editors believe this PR needs no further reviews, and is ready to land. label Oct 10, 2024
@ljharb ljharb merged commit 6b4217b into tc39:main Oct 11, 2024
8 checks passed
kimjg1119 pushed a commit to kimjg1119/ecma262 that referenced this pull request Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta ready to merge Editors believe this PR needs no further reviews, and is ready to land.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants