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

await block next to if block gets out of order #1440

Closed
Rich-Harris opened this issue May 10, 2018 · 5 comments
Closed

await block next to if block gets out of order #1440

Rich-Harris opened this issue May 10, 2018 · 5 comments
Labels

Comments

@Rich-Harris
Copy link
Member

REPL:

{#await Promise.resolve(42)}
  <p>waiting...</p>
{:then answer}
  <p>the answer is {answer}</p>
{/await}

{#if true}
  <p>true!</p>
{/if}

cc @stalkerg

@stalkerg
Copy link
Contributor

Thanks, I thought it will not work with REPL, but it is.

@hoodie
Copy link

hoodie commented Jul 8, 2018

this seems to be rather severe, any progress so far?

@stalkerg
Copy link
Contributor

stalkerg commented Jul 9, 2018

Still nothing :( it's why I don't recommend to use #await (and transition).

@RedHatter
Copy link
Contributor

I ran into what looks like the same issue. REPL As far as I can tell the problem appeared in version 2.5.0.

@RedHatter
Copy link
Contributor

Further testing shows that the problem appeared in 46c6b4b.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants