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

Break tag placement allows only 'defer' and always breaks before async is processed #672

Open
pattonwebz opened this issue Dec 17, 2020 · 0 comments

Comments

@pattonwebz
Copy link
Contributor

When testing this code I discovered that the placement of the break tag allows just defer to be used as it always breaks the loop before async becomes the $attr.

Moving the break to inside the if statement solves this.

// Only allow async or defer, not both.
break;

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

No branches or pull requests

1 participant