undo: deal with checkout exception
The ancient decision to let undo perform the checkout by itself still makes sense from a UX perspective, but keeps requiring specific handling of edge cases. In this case, the easiest way to deal with trailing input is to just abort entirely. Also: updated lib/RevBank/Plugins.pm to import 'isa' and get up to 5.32 level.
This commit is contained in:
parent
3c622ab6d4
commit
6b04ecc256
2 changed files with 21 additions and 4 deletions
|
@ -62,8 +62,9 @@ sub load($class) {
|
|||
RevBank::Eval::clean_eval(qq[
|
||||
use strict;
|
||||
use warnings;
|
||||
use feature qw(signatures state);
|
||||
no warnings 'experimental::signatures';
|
||||
use v5.32;
|
||||
use experimental 'signatures';
|
||||
use experimental 'isa';
|
||||
package $package;
|
||||
BEGIN { RevBank::Global->import; }
|
||||
our \@ISA = qw(RevBank::Plugin);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue