Skip to content

Commit

Permalink
Make Exception.Bool return True
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Lenz <moritz@faui2k3.org>
  • Loading branch information
felher authored and moritz committed Apr 14, 2012
1 parent d056801 commit 1fa8fb5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core/Exception.pm
Expand Up @@ -27,8 +27,6 @@ my class Exception {
method rethrow() is hidden_from_backtrace {
pir::rethrow__0P($!ex)
}

method Bool() { False }
}

my class X::AdHoc is Exception {
Expand Down

0 comments on commit 1fa8fb5

Please sign in to comment.