Closed csgui closed 1 month ago
@csgui to add more info to this.
Following a closer look, compilation errors are being handled as a GeneratorError::InternalError
. If a new error type is needed in the future, that can be done later.
Closing this issue.
@csgui super weird take, why shouldn’t there be clear compilation errors returned to the Clarity dev? Shouldn’t InternalError
s be for the cases where we have a logic error in the compiler code?
@Acaccia As you noticed this issue is related to the #421. I can say that it was closed by mistake. Let's use the issue #421 to work on compilation-time errors.
Interpreter errors (i.e: syntax error, etc...) should be mapped to Wasm compilation errors.