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

Update import attributes assert tests to current semantics #3919

Merged
merged 3 commits into from
Sep 13, 2023

Conversation

nicolo-ribaudo
Copy link
Member

@nicolo-ribaudo nicolo-ribaudo commented Sep 12, 2023

This was part of #3843, but:

  • I rewrote it from scratch to make sure that it was correct
  • It just updates assert semantics, it does not add with tests yet (I'll do that in a follow-up)

There is some complexity related to tests with invalid attributes, that should throw when linking, so I have a bunch of tests to verify valid syntax that will throw then during resolution.

@nicolo-ribaudo nicolo-ribaudo requested a review from a team as a code owner September 12, 2023 17:35
Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

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

LGTM but i'd prefer more maintainers to approve before merging

Copy link
Contributor

@Ms2ger Ms2ger left a comment

Choose a reason for hiding this comment

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

lgtm as well

@Ms2ger Ms2ger force-pushed the import-attributes-2 branch from 44301f7 to 7cf6e1d Compare September 13, 2023 09:32
@Ms2ger Ms2ger enabled auto-merge (squash) September 13, 2023 09:32
@Ms2ger Ms2ger merged commit 1bb53ae into tc39:main Sep 13, 2023
@nicolo-ribaudo nicolo-ribaudo deleted the import-attributes-2 branch September 13, 2023 09:35
anba added a commit to anba/test262 that referenced this pull request Sep 25, 2023
- Correct file paths in "ensure-linking-error_FIXTURE.js"
- Remove no longer valid assertion in "import-assertion-empty.js".

See also tc39#3919.
ptomato pushed a commit that referenced this pull request Sep 25, 2023
- Correct file paths in "ensure-linking-error_FIXTURE.js"
- Remove no longer valid assertion in "import-assertion-empty.js".

See also #3919.
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.

3 participants