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:
Juerd Waalboer 2023-12-26 01:17:03 +01:00
parent 3c622ab6d4
commit 6b04ecc256
2 changed files with 21 additions and 4 deletions

View file

@ -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);