scala-cli
scala-cli copied to clipboard
Concrete Scala CLI directive in ScalaDoc or block comment yields error
Version(s) Scala CLI version: 1.0.4 Scala version (default): 3.3.0
Describe the bug
Concrete Scala CLI directives in ScalaDoc or block comment yields Unrecognized directive error.
There is no issue with line comments.
To Reproduce Put the below in a file:
// line comment '//> using ...'
/* block comment '//> using ...' */
/** ScalaDoc '//> using ...' */
Then run scala-cli against it, and we get:
[error] Unrecognized directive: ...' with values: */, */
[error] /* block comment '//> using ...' */
[error] ^^
[error] ./Foo.sc:3:30
[error] Unrecognized directive: ...' with values: */, */
[error] /** ScalaDoc '//> using ...' */
[error] ^^
Expected behaviour No errors.