feat(Module_Doc): more fixup
This commit is contained in:
parent
766849d5fc
commit
67ecf46058
|
@ -29,12 +29,22 @@ local __Module_Doc: metatable<Module_Doc> = {
|
||||||
signals = List(),
|
signals = List(),
|
||||||
|
|
||||||
fixup = function(self: Module_Doc)
|
fixup = function(self: Module_Doc)
|
||||||
for p in self.properties:iter() do
|
for c in self.constructors:iter() do
|
||||||
p:fixup()
|
c:fixup()
|
||||||
|
if #c.return_types == 1 then
|
||||||
|
c.return_types[1].name = self.record_name
|
||||||
|
end
|
||||||
end
|
end
|
||||||
for m in self.methods:iter() do
|
for m in self.methods:iter() do
|
||||||
m:fixup()
|
m:fixup()
|
||||||
end
|
end
|
||||||
|
for p in self.properties:iter() do
|
||||||
|
p:fixup()
|
||||||
|
end
|
||||||
|
for s in self.static_functions:iter() do
|
||||||
|
s:fixup()
|
||||||
|
end
|
||||||
|
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Reference in New Issue