Skip to content

#list<#some_type> not processed correctly #6

@birgersp

Description

@birgersp

Consider this code

---
-- (Some function description)
-- @param #MyType self
-- @param #list<#string> newNames New names
function MyType:setNewNames(newNames)
    -- (Some code)
end

According to the doc, this is the correct way to describe a list of some type. But the documentor treats the list as a primitive, the first < as its name and the generic type is parsed as part of the description (see image below)
But this is the resulting doc:

pasted image at 2016_12_30 08_09 am

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions