-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fix: satisfies expressions are parsed as TsSatisfiesExpression #6354
fix: satisfies expressions are parsed as TsSatisfiesExpression #6354
Conversation
node bindings build failed. Based on the error messages, I seem the old version swc_ecma_parser is compiled when running In my local PC, I ran the following command and passed... Maybe, cache problem...?
|
I think this is a problematic, but you need to patch local crates using Lines 716 to 719 in 8123bf0
|
const _b = require(\\"../packages/b/src/index.ts\\"); | ||
async function display() { | ||
const displayA = await Promise.resolve().then(()=>/*#__PURE__*/ _interopRequireWildcard(require(\\"../packages/a/src/index\\"))).then((c)=>c.displayA); | ||
const displayA = await Promise.resolve().then(()=>/*#__PURE__*/ _interopRequireWildcard(require(\\"../packages/a/src/index.ts\\"))).then((c)=>c.displayA); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After applying patch dependencies correctly, this test failed. I seem #6339 causes this issue. Therefore, I updated snapshot.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
swc-bump:
- swc_ecma_ast
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automated review comment generated by auto-rebase script
reeset
#[tag("TsSatisfactionExpr")] | ||
TsSatisfaction(TsSatisfactionExpr), | ||
#[tag("TsSatisfiesExpression")] | ||
TsSatisfies(TsSatisfiesExpr), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will no longer have Benny Benassi stuck in my head while working with this. Thank you!
Description: Fix #6238
BREAKING CHANGE:
Related issue (if exists): #6238