Skip to content

Commit c778d46

Browse files
committed
Make prefixRegex sharable
1 parent f0af0bb commit c778d46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/src/dotty/tools/dotc/util/ParsedComment.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ object ParsedComment {
104104
} yield new ParsedComment(comment)
105105
}
106106

107+
@scala.annotation.internal.sharable
107108
private val prefixRegex = """@param\s+\w+\s+""".r
108109

109110
/** A mapping from tag name to `TagFormatter` */

0 commit comments

Comments
 (0)