-
Notifications
You must be signed in to change notification settings - Fork 13
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
Compute Index Out-Of-Bounds Error #106
Comments
@letypequividelespoubelles Did I formulate the trace file correctly? |
So, the offending chunk of code is this (from while let Some(x) = value.next() {
out.write_all(
cache
.cache_get_or_set_with(x.to_owned(), || {
format!("\"0x0{}\"", x.to_string()[2..].trim_start_matches('0')) // <--- HERE
}) Specifically, |
(defcolumns (A :binary@prove) B) Is it working like this ? |
Well, it doesn't matter whether we have |
Yes, we never use |
Thanks!! So what is used now instead of compute / convert? |
What's the use case? |
To do the trace expansion? Or is that not supported from the command line anymore? I'm just playing around with it getting a feel for how it works. |
If we want to do that from the CLI rather than through the FFI/lib, then the better course of actions would probably be to leverage code from |
Ok, thanks --- I think that has cleared up what's going on here. Ultimately, it seems the FFI is the only reliable way at this time to do trace expansion. I can fix this if I need to at some point. |
Yup, so removing that slice on the |
I'm not sure whether this is a bug, or I have made a mistake formulating the input. But, the following command fails:
Where we have:
test.lisp
test.trace
I should add that this passes
corset check --trace test.trace test.lisp
The text was updated successfully, but these errors were encountered: