DumpAST.display fails for empty array literal
typeness opened this issue · 0 comments
typeness commented
Reproduce using the following code
if __name__ == '__main__':
cel = "[]"
tree = CELParser().parse(cel)
print(DumpAST.display(tree))
The code fails with exception
return d.stack[0]
IndexError: list index out of range