Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3139 from dumarchie/master
Throw if keep/break is invoked on a vow more than once. Exception of type `X::Promise::IllegalTransition` would be thrown if `keep`/`break` are invoked on a vow taken on a promise that is not `Planned`. This should resolve /issues/3137. Note for Blin runs: this merge is likely to reveal a few vow misuses (i.e. repeated status change of a same `Promise`).
- Loading branch information
Showing
3 changed files
with
32 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters