tree-sitter-python
tree-sitter-python copied to clipboard
Error on exec on variable
func = "print"
exec func in {}
(module [0, 0] - [1, 15]
(expression_statement [0, 0] - [0, 14]
(assignment [0, 0] - [0, 14]
left: (identifier [0, 0] - [0, 4])
right: (string [0, 7] - [0, 14])))
(expression_statement [1, 0] - [1, 15]
(comparison_operator [1, 0] - [1, 15]
(identifier [1, 0] - [1, 4])
(ERROR [1, 5] - [1, 9]
(identifier [1, 5] - [1, 9]))
(dictionary [1, 13] - [1, 15]))))
test.py 0 ms (ERROR [1, 5] - [1, 9])