Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
pass one slurpy test
  • Loading branch information
diakopter committed Nov 6, 2011
1 parent edeaddb commit 565c225
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/runtime/Runtime/Signatures/SignatureBinder.lua
Expand Up @@ -59,10 +59,10 @@ function makeSignatureBinder()
local SlurpyHolder = TC.DefaultArrayType.STable.REPR:instance_of(TC, TC.DefaultArrayType);
C.LexPad.Storage[Param.VariableLexpadPosition] = SlurpyHolder;
-- pretty sure this might be off-by-one. ;)
for j = CurPositional, Positionals.Length - 1 do
for j = CurPositional, Positionals.Count do
Ops.lllist_push(TC, SlurpyHolder, Positionals[j]);
end
CurPositional = j;
CurPositional = Positionals.Count;
elseif (Param.Name ~= nil) then
local Value;
if (Nameds[Param.Name] ~= nil) then
Expand Down

0 comments on commit 565c225

Please sign in to comment.