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

Error on backslash in function with no newline after it

Open Sjord opened this issue 4 years ago • 0 comments

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])

Sjord avatar Sep 21 '21 09:09 Sjord