Skip to content

improve on #126: workaround loss of qualification for type class assumption names#127

Merged
jvanbruegge merged 1 commit intomasterfrom
fix_126
Jan 13, 2026
Merged

improve on #126: workaround loss of qualification for type class assumption names#127
jvanbruegge merged 1 commit intomasterfrom
fix_126

Conversation

@dtraytel
Copy link
Copy Markdown
Collaborator

@dtraytel dtraytel commented Jan 13, 2026

This addresses #126. Funnily the "fix" is based on a similar workaround for typedef used for ordinary datatypes (see ~~/src/HOL/Tools/BNF/bnf_util.ML, function fun typedef). In the present workaround the filter snd is a bit sketchy and might be problematic if binder_datatypes are declared in locales (but there might be more issues when this is done). Without the filter snd IFOL fails, because some of these supposedly internal names leak.

@jvanbruegge jvanbruegge merged commit ef3d3e2 into master Jan 13, 2026
1 check passed
@jvanbruegge jvanbruegge deleted the fix_126 branch January 13, 2026 17:09
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.

2 participants