Skip to content

Commit

Permalink
Fix precedence error; RabidGravy++
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Oct 7, 2017
1 parent f59b288 commit ba2d858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/NativeCall.pm6
Expand Up @@ -397,7 +397,7 @@ our role Native[Routine $r, $libname where Str|Callable|List|IO::Path|Distributi
my $arglist := QAST::Op.new(:op<list>);
my $locals = 0;
for $r.signature.params {
next if nqp::istype($r, Method) && $_.name // '' eq '%_';
next if nqp::istype($r, Method) && ($_.name // '') eq '%_';
my $name = $_.name || '__anonymous_param__' ~ $++;
my $decont = self!decont-for-type($_.type);
if $_.rw and nqp::objprimspec($_.type) > 0 {
Expand Down

0 comments on commit ba2d858

Please sign in to comment.