Skip to content

[asl] Typecheck discarded impdef subprograms #1280

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

Merged
merged 2 commits into from
May 2, 2025

Conversation

hrutvik
Copy link
Collaborator

@hrutvik hrutvik commented Apr 29, 2025

Rather than discarding overridden impdef subprograms, ensure they are type-checked. In particular, give them fresh names so that they are never referred to, but still appear in the final type-checked specification.

@hrutvik hrutvik force-pushed the typecheck-impdefs branch from 47fc321 to d01b172 Compare April 29, 2025 12:09
@hrutvik hrutvik marked this pull request as ready for review April 29, 2025 12:51
Copy link
Collaborator

@HadrienRenaud HadrienRenaud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

hrutvik added a commit to hrutvik/herdtools7 that referenced this pull request Apr 30, 2025
Copy link
Collaborator

@Roman-Manevich Roman-Manevich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Some minor comments.

@hrutvik hrutvik force-pushed the typecheck-impdefs branch from d01b172 to da11293 Compare May 2, 2025 12:40
@hrutvik hrutvik merged commit 8bd2962 into herd:master May 2, 2025
3 checks passed
@hrutvik hrutvik deleted the typecheck-impdefs branch May 2, 2025 12:54
hrutvik added a commit to hrutvik/herdtools7 that referenced this pull request May 7, 2025
hrutvik added a commit to hrutvik/herdtools7 that referenced this pull request May 7, 2025
maranget pushed a commit that referenced this pull request May 15, 2025
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.

3 participants