difftastic/corpus
susliko 9d53ab25cb Multi-val/var definitions
Problem
-------
Definitions like the following are not supported:
```scala
val a,b,c: Int = 1
var d,e = ""
```

Solution
-------
Add `$.identifiers` as a choice option along with `$._pattern` to
`$.var_definition`.
Remove `prec(-1)` in `$.identifiers` definitions so that parser wouldn't
on declarations with more than two identifiers.
Resolve a conflict between `$.identifiers` and `$.val_declaration`
2023-06-09 13:09:23 +07:00
..
annotations.txt Various improvements (#13) 2020-07-13 13:31:00 +07:00
comments.txt Support Scala CLI using directives 2023-05-31 23:04:52 +07:00
definitions.txt Multi-val/var definitions 2023-06-09 13:09:23 +07:00
expressions.txt Rework lambda expressions 2023-06-08 17:20:52 +07:00
literals.txt Allow quotes to be last characters of multi-line string 2023-05-26 17:58:55 +07:00
patterns.txt Repeat pattern 2023-06-06 02:57:38 +07:00
types.txt Allow closing paren/bracket to outdent 2023-06-06 00:57:55 +07:00