tree-sitter / tree-sitter-scala

Scala grammar for tree-sitter
MIT License
158 stars 55 forks source link

Fix for https://github.com/fluencelabs/aqua/blob/main/parser/src/main… #403

Open potan opened 3 months ago

potan commented 3 months ago

Supporting blocks with "{}" in "given" definitions.

object {
  given g: Show[T] with {
    def show(x: T) = ""
  }
}
susliko commented 3 months ago

@potan Could you please provide a description for an issue addressed by this PR and a minimal piece of code which fails to be parsed by tree-sitter-scala parser?