feat(Module_Doc): more fixup
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details

This commit is contained in:
Aire-One 2022-12-19 18:13:20 +01:00
parent 766849d5fc
commit 67ecf46058
1 changed files with 12 additions and 2 deletions

View File

@ -29,12 +29,22 @@ local __Module_Doc: metatable<Module_Doc> = {
signals = List(),
fixup = function(self: Module_Doc)
for p in self.properties:iter() do
p:fixup()
for c in self.constructors:iter() do
c:fixup()
if #c.return_types == 1 then
c.return_types[1].name = self.record_name
end
end
for m in self.methods:iter() do
m:fixup()
end
for p in self.properties:iter() do
p:fixup()
end
for s in self.static_functions:iter() do
s:fixup()
end
end,
}
end,