APIDump: Inheritance is tested properly.
This fixes #195 's second iteration.
This commit is contained in:
parent
0152a6ffb4
commit
ec94104a3c
@ -818,13 +818,11 @@ function WriteHtmlClass(a_ClassAPI, a_AllAPI)
|
||||
local HasConstants = (#a_ClassAPI.Constants > 0);
|
||||
local HasFunctions = (#a_ClassAPI.Functions > 0);
|
||||
local HasVariables = (#a_ClassAPI.Variables > 0);
|
||||
if (a_ClassAPI.Inherits ~= nil) then
|
||||
for idx, cls in ipairs(a_ClassAPI.Inherits) do
|
||||
for idx, cls in ipairs(InheritanceChain) do
|
||||
HasConstants = HasConstants or (#cls.Constants > 0);
|
||||
HasFunctions = HasFunctions or (#cls.Functions > 0);
|
||||
HasVariables = HasVariables or (#cls.Variables > 0);
|
||||
end
|
||||
end
|
||||
|
||||
-- Write the table of contents:
|
||||
if (HasInheritance) then
|
||||
|
Loading…
Reference in New Issue
Block a user