tree-sitter-kotlin icon indicating copy to clipboard operation
tree-sitter-kotlin copied to clipboard

Fix parsing errors for infix expressions

Open mjambon opened this issue 1 year ago • 0 comments

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.

mjambon avatar Oct 18 '24 00:10 mjambon