Skip to content

Scaladoc define syntax clashes with string interpolation #10333

@janekdb

Description

@janekdb

In Scaladoc examples code block may contain interpolated strings. This result in a warning when the corresponding replacement text is not defined. If the replacement was defined replacement is unlikely to be desirable.

[warn] Console.scala:46: Variable RESET undefined in comment for object Console in object Console
[warn]  *          Console.err.println(s"${RESET}${YELLOW_B}${RED}${UNDERLINED}NO!${RESET}")

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions