-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Bug - escapeFromConditionalBranches #472
Bug - escapeFromConditionalBranches #472
Conversation
…peFromConditionalBranches
Execution bug: can't escape from conditional branches that end with a Promise-resolution-terminating command block (see scratchfoundation#464)
Wait... hold off on that... this is not a good fix as I forgot to account for promises at the end of actual loops. This will break that scenario at present. |
And it starts to get a little less elegant :/ Wondering if this should not be handled better in another part of the codebase? We don't want to be duplicating existing code stepping functionality locally at the end of the promise script really... What do you think?
Forgot to say, this fix is ok now and can be looked at (if it helps). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @griffpatch . This looks good. Sorry for the slow review on this, but I just wanted to make sure to test it thoroughly.
Very very wise :) I prefer it that way :)
…On 1 Mar 2017 9:42 p.m., "Andrew Sliwinski" ***@***.***> wrote:
***@***.**** approved this pull request.
Thanks @griffpatch <https://github.com/griffpatch> . This looks good.
Sorry for the slow review on this, but I just wanted to make sure to test
it thoroughly.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#472 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGbNvjzqcWs6J4jto3NEk-2JZHuaqQAcks5rheY8gaJpZM4MF4hB>
.
|
Fixes Bug: Execution bug: can't escape from conditional branches that end with a Promise-resolution-terminating command block #464