-
Notifications
You must be signed in to change notification settings - Fork 644
New issue
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
refactor: bubble up PrecompileError #2191
base: main
Are you sure you want to change the base?
Conversation
42c1e18
to
3876863
Compare
3876863
to
48f6528
Compare
CodSpeed Performance ReportMerging #2191 will degrade performances by 4.78%Comparing Summary
Benchmarks breakdown
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PrecompileError is an internal error similar to Halt, so it is not possible to bubble it up to outside. It is converted to InterpreterResult.
I could be wrong, but we actually do convert It's also exposed in |
I expect the performance regression to be a result of the usage of a nested
|
Precompile errors are represented as a
String
, but there doesn't seem to be anything limiting us from bubbling up thePrecompileError
type. This gives us better static typing for precompile errors.