Skip to content

state_unsafe_mutation caused by {#await}? #14692

Answered by gterras
0x1618 asked this question in Q&A
Discussion options

You must be logged in to vote

By simply moving the function call to the script it starts working:

const working = wrappedAwaitable()
{#await working}

So it's probably a bug, you should open an issue. With this minimal repro the error message looks adequate.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@0x1618
Comment options

Answer selected by 0x1618
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants