-
Notifications
You must be signed in to change notification settings - Fork 63
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
False positive warning about "returning an abrupt completion" #619
Comments
Should it instead say |
That said, I'd write the above code as
instead of using ReturnIfAbrupt. (Though in fact the correct thing these days is to use |
Right, I meant, remove the ReturnIfAbrupt step and let a |
You can't use |
(I actually kind of want to get rid of ReturnIfAbrupt entirely, though we'll still need IfAbruptCloseIterator and IfAbruptRejectPromise.) |
Can I |
No, but you can |
You can also |
We only use |
it warns for the following code after upgrading from 19.1.0 to 20.0.0. It uses ReturnIfAbrupt.
The text was updated successfully, but these errors were encountered: