-
Notifications
You must be signed in to change notification settings - Fork 4
Add type-correcting projections on pointer cast and related operations #937
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
Conversation
…nter cast, not connected yet
|
Tested a selection of p-token proofs and short-running SPL proofs, all were passing with these changes. |
dkcumming
left a comment
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.
Nice, I think let's give this a try. I imagine we will have to make adjustments for other cases as we find more out but I think this is a great improvement as is
| // requires LENGTH +Int PTR_OFFSET <=Int ORIGIN_SIZE // refuse to create an invalid fat pointer | ||
| // andBool dynamicSize(1) ==K #metadataSize(lookupTy(_TY)) // expect a slice type | ||
| // andBool hasIndexTail(PROJS) ??? |
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.
Should these conditions be present?
appendPfunction is adjusted to do these cancellations.iterator_simpletest is now passing.