Skip to content

Conversation

@michaelficarra
Copy link
Contributor

@michaelficarra michaelficarra commented Oct 28, 2024

See the related PR in HTML: whatwg/html#10635

As of tc39/ecma262#2874 (September 2022), ecma262 no longer uses the Type macro for simple type tests. We have replaced them with "x is a Y"-style notation. We also replaced most of the remaining uses of the Type macro with the new SameType AO in tc39/ecma262#3408. It wasn't a problem that Web IDL continued to use the old-style Type checks until tc39/ecma262#3420 which removes the final use of the Type macro and with it the Type macro itself.

This is the Web IDL integration, updating the type tests to the new form and allowing us to un-define the Type macro in ecma262.

/cc @syg @bakkot


Preview | Diff

Copy link
Member

@domenic domenic left a comment

Choose a reason for hiding this comment

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

LGTM; will merge after #1446 gets merged.

@domenic domenic merged commit 0675b96 into whatwg:main Oct 29, 2024
2 checks passed
@michaelficarra michaelficarra deleted the is-a-type-tests branch October 31, 2024 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants