We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The error message only describes what IR node evaluation failed without any context information.
The following error message communicates the context better:
... val v5 = OUTPUTS(2) ^^^ - index out of bounds ...
For a deserialized ErgoTree the source code can be generated by pretty printer #371 .
Ideally, we'd want a pretty printed tree with evaluation results(values) printed at ValDef's.
One of the options is to add a source span to every node and pretty print the tree on an error at the top-level evaluator (ErgoTree).
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Motivation
The error message only describes what IR node evaluation failed without any context information.
The following error message communicates the context better:
For a deserialized ErgoTree the source code can be generated by pretty printer #371 .
Solution
Ideally, we'd want a pretty printed tree with evaluation results(values) printed at ValDef's.
One of the options is to add a source span to every node and pretty print the tree on an error at the top-level evaluator (ErgoTree).
The text was updated successfully, but these errors were encountered: