Skip to content

[BUG] Inferring Unused Tails for Packed Encodings #80

@iamrecursion

Description

@iamrecursion

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions