tree-sitter-kotlin
tree-sitter-kotlin copied to clipboard
Fix parsing errors for infix expressions
The original bug was that a function applied using the infix syntax such as a eq b. This would produce a parse error if the operator started with the letter e but not other letters. This was a problem in the scanner code for automatic semicolons. I also found a problem with infix operators starting with import as in a import_ b. This is also fixed now.