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 4868e92 commit f59b288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/NativeCall.pm6
Expand Up @@ -334,7 +334,7 @@ our role Native[Routine $r, $libname where Str|Callable|List|IO::Path|Distributi
my @deconts;
my @params;
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 $lowered_param_name = '__lowered_param__' ~ $locals;
my $lowered_name = '__lowered__' ~ $locals++;
Expand Down

1 comment on commit f59b288

@jonathanstowe
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.