tree-sitter-kotlin
tree-sitter-kotlin copied to clipboard
Separate when_expression body into it's own node
Moved the body of the when expression to a separate rule so that it can be queried separately. This also makes it consistent with the other kotlin control structures.
I left this commit out of #48 since it deviates from the kotlin grammar reference and I wasn't sure that was a good idea or not.