Skip to content

Commit

Permalink
A slurpy hash parameter is just putting a name on the normal named ar…
Browse files Browse the repository at this point in the history
…guments, so it does not affect arity.
  • Loading branch information
colomon committed Apr 8, 2012
1 parent 648c49b commit 87bc0df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Builtins.cs
Expand Up @@ -1961,6 +1961,7 @@ public partial class Builtins {
if ((fl & (Parameter.SLURPY_CAP | Parameter.SLURPY_POS |
Parameter.SLURPY_PCL)) != 0)
return int.MaxValue;
if ((fl & Parameter.SLURPY_NAM) != 0) continue;
if ((fl & Parameter.POSITIONAL) == 0) continue;
arity++;
}
Expand Down

0 comments on commit 87bc0df

Please sign in to comment.