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

Handle dtyp's dependency to other dtyps #71

Closed

Conversation

moratorium08
Copy link

Changes Made

  • Changed RDTyp.deps from a vector to a hashmap.
  • Added dependency information when parsing data types.
  • Introduced DTypeNameIterator to iterate over free occurrences of data types (same implementation as the original mentions_dtyp).
  • Refactored mentions_dtyp to use DTypeNameIterator.

Brief Description

Currently, there is no proper handling of RDTyp.deps since the add_dep method isn't used. This field is crucial for HoIce when dumping terms that include data types, particularly in cases of mutually recursive data types. Without it, the current implementation incorrectly outputs SMT2 queries, leading to failures.

@AdrienChampion AdrienChampion self-requested a review October 3, 2024 07:19
@moratorium08
Copy link
Author

I've noticed this patch seems incomplete, so I'll close this PR and submit another later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant