Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make Promise.Bool a multi
otherwise "so Promise" dies
  • Loading branch information
moritz committed Dec 19, 2014
1 parent 30edf7f commit 413a2d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Promise.pm
Expand Up @@ -115,7 +115,7 @@ my class Promise {
}
}

method Bool(Promise:D:) {
multi method Bool(Promise:D:) {
so $!status == any(Broken, Kept)
}

Expand Down

0 comments on commit 413a2d5

Please sign in to comment.