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

Fix various bugs with the type generation of the deriving mechanism #14

Merged
merged 1 commit into from
Feb 28, 2025

Conversation

WhatisRT
Copy link
Collaborator

@WhatisRT WhatisRT commented Nov 27, 2024

N-ary types were omitted and some DB indices were a bit off in some scenarios. Closes #13.

@WhatisRT WhatisRT force-pushed the fix-deriving-type-generation branch 3 times, most recently from 208fcef to c38d58f Compare November 28, 2024 09:43
N-ary types were omitted and some DB indices were a bit off in some scenarios.
Comment on lines +147 to +150
hasUnsolvedMetas : Term → M Bool
hasUnsolvedMetas' : List (Arg Term) → M Bool
hasUnsolvedMetasCl : List Clause → M Bool
hasUnsolvedMetasTel : Telescope → M Bool
Copy link
Collaborator

Choose a reason for hiding this comment

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

There is some duplication with Reflection.Utils.TCI.ensureNoMetas but I could not find an easy way to replace the use in declareAndDefineFunsDebug, so keeping it for now is OK.

Copy link
Collaborator

@omelkonian omelkonian left a comment

Choose a reason for hiding this comment

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

LGTM

@omelkonian omelkonian merged commit 9d27351 into master Feb 28, 2025
1 check passed
@omelkonian omelkonian deleted the fix-deriving-type-generation branch February 28, 2025 16:44
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.

[Bug] Deriving a Show instance for Pointwise
2 participants