Skip to content

Update import attributes assert tests to current semantics#3919

Merged
Ms2ger merged 3 commits into
tc39:mainfrom
nicolo-ribaudo:import-attributes-2
Sep 13, 2023
Merged

Update import attributes assert tests to current semantics#3919
Ms2ger merged 3 commits into
tc39:mainfrom
nicolo-ribaudo:import-attributes-2

Conversation

@nicolo-ribaudo

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

Copy link
Copy Markdown
Member

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

@ljharb ljharb left a comment

Copy link
Copy Markdown
Member

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

@Ms2ger Ms2ger left a comment

Copy link
Copy Markdown
Contributor

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