Skip to content

Fix __async decorators in libwasmfs_opfs.js#26026

Open
sbc100 wants to merge 1 commit intoemscripten-core:mainfrom
sbc100:opfs_async
Open

Fix __async decorators in libwasmfs_opfs.js#26026
sbc100 wants to merge 1 commit intoemscripten-core:mainfrom
sbc100:opfs_async

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Dec 31, 2025

For functions that are unconditionally declared as async we should
also unconditionally mark them as __async. There are two function
that are conditionally async and in these two cases the __async
decorator should also be conditional.

For functions that are unconditionally declared as `async` we should
also unconditionally mark them as `__async`.   There are two function
that are conditionally `async` and in these two cases the `__async`
decorator should also be conditional.
@sbc100
Copy link
Collaborator Author

sbc100 commented Dec 31, 2025

This work is kind of a followup to #20289

Copy link
Member

@tlively tlively left a comment

Choose a reason for hiding this comment

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

Is it possible to write a test for this?

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.

2 participants