Skip to content

Commit

Permalink
Adopt new Perl 6 semantics with regard to Sets
Browse files Browse the repository at this point in the history
  • Loading branch information
niner committed Aug 30, 2015
1 parent 1048ed0 commit 186fb99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Inline/Perl5.pm6
Expand Up @@ -782,7 +782,7 @@ method import (Str $module, *@args) {
my $before = set self.subs_in_module('main').list;
self.invoke($module, 'import', @args.list);
my $after = set self.subs_in_module('main').list;
return ($after $before).list;
return ($after $before).keys;
}

my $loaded_modules = SetHash.new;
Expand Down

0 comments on commit 186fb99

Please sign in to comment.