Skip to content

Comment in arguments #430

Open
Open
@neumatho

Description

@neumatho

It you have a comment in argument list of a function, then the comment is not included in the output.

function f1(a, /* my comment */ c) {
}

generates

function f1(a, c) {
}

It seems like the attachComments() function place the comment at the right place, namely as leading comment to argument 'c', so the issue is only in the code generator.

-Thomas

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