Closed mmcqd closed 2 years ago
Scala supports arbitrarily nested comments, like ``` /* A /* B */ C */ ```
BTW a little challenge for you! We have the same problem with kotlin. Kotlin support nested comments but tree-sitter-kotlin grammar does not support it! We could use your helper there too :)
See title. Associated semgrep PR: https://github.com/returntocorp/semgrep/pull/4231 Not entirely clear to me why the original multi-line comment rule looked like it did, but this change doesn't introduce any regressions. Let me know if there's some special case that is now missing.
Security