-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is there an existing issue for this?
- I have searched the existing issues
Category of feature request
Transpiler
Problem statement
The range field of TranspileError is ignored by the __str__ method. Having it printed would help users figure out what went wrong.
A detail needs attention though: the code ranges computed by morpheus refer to either the input file (for parsing errors) or the output file (for errors that occurred after parsing).
Proposed Solution
- Print the
rangefield inTranspilerError's__str__method. - Make sure that the
pathfield points to the correct field depending on the error kind (input file forPARSING, output file otherwise)
Additional Context
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request