Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[dotnet] Fix a thinko in the signature binder that made optional para…
…meters not work out so optional.
  • Loading branch information
jnthn committed Oct 20, 2010
1 parent 9dcc5ed commit 0c0d5df
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dotnet/runtime/Runtime/Signatures/SignatureBinder.cs
Expand Up @@ -87,14 +87,12 @@ public static void Bind(Context C, RakudoObject Capture)
{
// We have an argument, just bind it.
C.LexPad.Storage[Param.VariableLexpadPosition] = Positionals[CurPositional];
CurPositional++;
}
else
{
// XXX Default value, vivification.
}

// Increment positional counter.
CurPositional++;
}

// Named slurpy?
Expand Down

0 comments on commit 0c0d5df

Please sign in to comment.