summaryrefslogtreecommitdiffstats
path: root/lib/Reply/Plugin/Autocomplete/Methods.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Reply/Plugin/Autocomplete/Methods.pm')
-rw-r--r--lib/Reply/Plugin/Autocomplete/Methods.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Reply/Plugin/Autocomplete/Methods.pm b/lib/Reply/Plugin/Autocomplete/Methods.pm
index 93fda29..4b1c4f5 100644
--- a/lib/Reply/Plugin/Autocomplete/Methods.pm
+++ b/lib/Reply/Plugin/Autocomplete/Methods.pm
@@ -69,8 +69,13 @@ sub tab_handler {
$class = $invocant;
}
+ my @mro = (
+ @{ mro::get_linear_isa('UNIVERSAL') },
+ @{ mro::get_linear_isa($class) },
+ );
+
my @results;
- for my $package (@{ mro::get_linear_isa($class) }) {
+ for my $package (@mro) {
my $stash = eval { Package::Stash->new($package) };
next unless $stash;