Hi all,
I have a problem with LDoc. I have a module like this:
---
-- Some module
-- @module test
return {
---
-- @function f1
-- @treturn string
-- some string
f1 = function()
return "some string"
end,
---
-- @function f2
-- @treturn string
-- some other string
f2 = function f2()
return "some other string"
end
}
LDoc revision aa4cd9d generates this (original HTML attached):
Module test
Some module
Functions
-
f1 ()
-
Returns:
-
string
some string
-
string
some other string
-
f2 ()
-
Returns:
string
some other string
I.e. the return type of f2() falsely also appears for f1(). Can anyone tell me if I'm doing something wrong or whether LDoc has an issue here?
Thanks
Thomas W.