File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1055,7 +1055,7 @@ local function compileFunctionParam(func, source)
10551055 local derviationParam = config .get (guide .getUri (func ), ' Lua.type.inferParamType' )
10561056 if derviationParam and func .parent .type == ' local' and func .parent .ref then
10571057 local refs = func .parent .ref
1058- local found
1058+ local found
10591059 for _ , ref in ipairs (refs ) do
10601060 if ref .parent .type ~= ' call' then
10611061 goto continue
@@ -1069,13 +1069,13 @@ local function compileFunctionParam(func, source)
10691069 local callerArg = caller .args [index ]
10701070 if callerArg then
10711071 vm .setNode (source , vm .compileNode (callerArg ))
1072- finded = true
1072+ found = true
10731073 end
10741074 end
10751075 end
10761076 :: continue::
10771077 end
1078- return finded
1078+ return found
10791079 end
10801080end
10811081
You can’t perform that action at this time.
0 commit comments