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
OSX await
not waiting for Planned promise
#4457
Comments
From @ugexeI seem to have hit a strange bug on osx where for: If i do: I am not able to golf down an example, however this code snippet may clarify: Inside the .then() in the gist above the `await` works fine. `$p` gets returned ($promise = $p). Then comes the originally mentioned `await $promise; say $promise.perl` which shows Planned. The .then() chain is then being executed (instead of executed during the `await $promise`). If I do `$promise.result; await $promise; say $promise.perl` it shows `Kept` and executes the .then() chain during the `await` |
From @ugexeI should mention regarding the gist above: |
From @ugexeAttached is a stand alone example of this bug. It (along with example output on Linux and OSX) can also be seen here: |
From @ugexe |
From @jnthnOn Wed Aug 05 11:45:14 2015, ugexe@cpan.org wrote:
This was fixed a while back in Rakudo commit 1ee27e660a8. Given there are numerous Promise-using tests in the test suite that would have occasionally failed due to this bug, I think we can consider it sufficiently covered also. /jnthn |
The RT System itself - Status changed from 'new' to 'open' |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#125758 (status was 'resolved')
Searchable as RT125758$
The text was updated successfully, but these errors were encountered: