Skip to content

fix: Fix dependency reolustion not respecting declarations#108

Open
ChAoSUnItY wants to merge 3 commits intomainfrom
fix/dep
Open

fix: Fix dependency reolustion not respecting declarations#108
ChAoSUnItY wants to merge 3 commits intomainfrom
fix/dep

Conversation

@ChAoSUnItY
Copy link
Copy Markdown
Collaborator

This patch fixes issue caused by dependency resolution not respecting declaration symbols, which can be reproduced from loading mss.gcl before.

In addition, this patch draft a better symbol handling scheme by moving duplication checks from GCL/Type2/ToTyped.gcl to GCL/Dependency.hs, to avoid invalid declarations / defintions slip through dependency resolution pass. This includes:

  1. Duplications of Declarations
  2. Duplications of Type Definition Constructor
  3. Duplications of Definitions
  4. Validity of free variables in term, whether referring to declarations, type definition constructor, or other definitions

@ChAoSUnItY ChAoSUnItY requested a review from NOOBDY April 2, 2026 18:57
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