Skip to content

Conversation

3cp
Copy link
Member

@3cp 3cp commented Jan 2, 2025

closes #360

Comment on lines -3583 to -3586
if (scope) {
key = declaration.id ? declaration.id.name : '';
declareUnboundVariable(parser, key);
}
Copy link
Member Author

Choose a reason for hiding this comment

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

parseFunctionDeclaration already does declareUnboundVariable. This is same for non-async function export in previous lines.

@3cp 3cp requested a review from fisker January 2, 2025 23:06
@3cp
Copy link
Member Author

3cp commented Jan 3, 2025

Thx!

@3cp 3cp merged commit 8ff271e into main Jan 3, 2025
3 checks passed
@3cp 3cp deleted the fix-export-async branch January 3, 2025 05:04
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.

Asynchronous function exports are not working.
2 participants