Content deleted Content added
No edit summary |
No edit summary |
||
Line 242:
or tp_param.deprecated and noval and 'empty-deprecated'
or not compatible( tp_param.type, value ) and 'incompatible'
▲ if not series and already_seen[tp_param] and hasval then
table_name = 'duplicate'▼
end▼
end▼
if hasval and table_name ~= 'duplicate' then
already_seen[tp_param] = p_name
Line 257 ⟶ 252:
if table_name then
res[table_name] = res[table_name] or {}
local primary_param = tp_param['primary']
local primaryData = res[table_name][primary_param] or {}
table.insert(primaryData, p_name)
res[table_name][primary_param] = primaryData
▲ end
end
end
Line 275 ⟶ 277:
-- add the first usage of alias to 'duplicate params'
if res['duplicate'] then
for _, alias in ipairs( alreadyseen ) do
is_alias = is_alias or not util.empty( t_args[alias] )
end
|