# New Ticket Created by Nick Logan # Please include the string: [perl #125758] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=125758 >
I seem to have hit a strange bug on osx where for: `await $promise; say $promise.perl` shows $promise as planned (its not waiting). If i do: `$promise.result; await $promise; say $promise.perl` it shows the promise as Kept after properly awaiting. I am not able to golf down an example, however this code snippet may clarify: https://gist.github.com/ugexe/ab6ca0453900cc0c746d 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`