tree-sitter-python
tree-sitter-python copied to clipboard
Error on backslash in function with no newline after it
From here.
def foo():
pass \
\
\
(module [0, 0] - [3, 1]
(ERROR [0, 0] - [1, 8]
(identifier [0, 4] - [0, 7])
(parameters [0, 7] - [0, 9])
(pass_statement [1, 4] - [1, 8])))
fail/trailingBlankLinesWithBackslashesAtFunctionEndNoNewLine.py 0 ms (ERROR [0, 0] - [1, 8])