Skip to content
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

[BUG] Inferring Unused Tails for Packed Encodings #80

Open
iamrecursion opened this issue Sep 11, 2023 · 0 comments
Open

[BUG] Inferring Unused Tails for Packed Encodings #80

iamrecursion opened this issue Sep 11, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@iamrecursion
Copy link
Contributor

Describe the Bug

While I do not think it can ever be conclusively eliminated, there are some fairly recognizable cases in which we infer the tail of a packed encoding as being used where it is actually not. We want to eliminate these cases as much as possible.

To Reproduce

Steps to reproduce the behavior:

  1. Run the house.rs integration test
  2. Look at the assertion for slot number 25.
  3. See that it infers it as struct(number8, bytes31) where it should just be some type equivalent to bool.

Expected Behaviour

We do better about not returning unused tails in packed encodings.

@iamrecursion iamrecursion added the bug Something isn't working label Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant