Skip to content

Incorrect comment content if having more comment after the {{{code}}} in same line #16153

Closed
@liang3zy22

Description

@liang3zy22

Compiler version

3.2.1-RC2(all 3 version should have this issue.)

Minimized code

/**
 * {{{ code }}}}
 */
class A

Output

The html page is not correct, showing "class A", "}" and "code }}}".

Expectation

The html page should only show "class A", "}".

Comment

This is the same issue in scala2, scala/bug#12509. Just different test case.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions