Skip to content
Browse files

A slurpy hash parameter is just putting a name on the normal named ar…

…guments, so it does not affect arity.
  • Loading branch information...
1 parent 648c49b commit 87bc0df25855e1c6c8ab2e222f479cd8500b409b @colomon colomon committed Apr 8, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Builtins.cs
View
1 lib/Builtins.cs
@@ -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++;
}

0 comments on commit 87bc0df

Please sign in to comment.
Something went wrong with that request. Please try again.