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

test: add more test cases for asi with sequence expressions #7626

Merged
merged 1 commit into from
Aug 20, 2024
Merged

Conversation

h-a-n-a
Copy link
Collaborator

@h-a-n-a h-a-n-a commented Aug 20, 2024

Summary

Added some case for asi.

The following case is also failed in webpack:

import { foo } from "./a"

export const fooC = foo
d(), foo();

which transformed into:

export const fooC = foo
d(), ;(0, xxx.foo)();

so as the case:

export default (function Foo() {})
d(), foo();

which should be fixed on webpack side as well.

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Aug 20, 2024
Copy link

netlify bot commented Aug 20, 2024

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit 52b18ea
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/66c461b53d5eed00084d196f

@h-a-n-a h-a-n-a merged commit e081aa8 into main Aug 20, 2024
37 checks passed
@h-a-n-a h-a-n-a deleted the test-asi branch August 20, 2024 09:55
@chenjiahan chenjiahan mentioned this pull request Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants