mirror of https://github.com/Wilfred/difftastic/
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` |
||
|---|---|---|
| .. | ||
| annotations.txt | ||
| comments.txt | ||
| definitions.txt | ||
| expressions.txt | ||
| literals.txt | ||
| patterns.txt | ||
| types.txt | ||