Closed Kordyjan closed 3 years ago
I think the simplest solution for that would be to wrap all identifiers that desn't match some regex in backticks during generation of signatures.
This regex would probably look something like that: (?:\w+)(?:_[^\[\(\s\w]+)|\w+|[^\[\(\s\w]+
.
See the failing test. For identifiers that cannot be expressed without backticks scala3doc shouldn't skip them as it can lead to ambiguities and straight up incorrect signatures.