Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
IOU.e should never fail, just return Bool:D
  • Loading branch information
lizmat committed Feb 14, 2015
1 parent 168fca7 commit f43f963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/IOU.pm
Expand Up @@ -44,7 +44,7 @@ my class IOU does IO::Pathy {
# at creation time. We try to create the object again, call the method if
# succeeds, or fail. Wish there were a less verbose way to do this.

method e(IOU:D:) { self!that ?? $!that.e !! self!fail('e') }
method e(IOU:D:) { self!that ?? $!that.e !! False }
method f(IOU:D:) { self!that ?? $!that.f !! self!fail('f') }
method d(IOU:D:) { self!that ?? $!that.d !! self!fail('d') }
method s(IOU:D:) { self!that ?? $!that.s !! self!fail('s') }
Expand Down

0 comments on commit f43f963

Please sign in to comment.