Skip to content

nim doc treats export localSymbol incorrectly #13100

@timotheecour

Description

@timotheecour

nim doc treats export localSymbol incorrectly

Example

proc fun1()=discard proc fun2*()=discard export fun1

Current Output

shows fun1 in exports section instead of in procs section;
what's even worse is there'll be no way of showing the symbol definition since it belongs to the same module

Expected Output

fun1 should be shown just like fun2, in the procs section (in this specific example), not as a "naked" symbol in exports list

Additional Information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions