মডিউল:Arguments: সংশোধিত সংস্করণের মধ্যে পার্থক্য
add a more detailed comment about metatable behaviour |
check fargs and pargs before writing new values to args if options.noOverwrite is set |
||
৮৮ নং লাইন: | ৮৮ নং লাইন: | ||
metatable.__newindex = function (t, key, val) | metatable.__newindex = function (t, key, val) | ||
if not options.readOnly and (not options.noOverwrite or | if not options.readOnly and (not options.noOverwrite or args[key] == nil) then | ||
metaArgs[key] = val | metaArgs[key] = val | ||
end | end |