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

Regression Test Suite #16

Open
9 tasks
ahubers opened this issue Mar 11, 2022 · 0 comments
Open
9 tasks

Regression Test Suite #16

ahubers opened this issue Mar 11, 2022 · 0 comments
Assignees

Comments

@ahubers
Copy link
Contributor

ahubers commented Mar 11, 2022

What

We want a test suite to run to catch regressions in party-ctrs functionality. A non-comprehensive list of what should be asserted in some form:

Vanilla Party-Ctrs tests

  • data Ord a => Tree a = ... should compile.
  • ... TODO

Type Family Shenanigans

  • Open type families should generate WF constraints in-file.
  • Recursive type family instances should have recursive WF constraint instances
  • Closed recursive type families should have closed recursive WF constraint instances (these cases are different; closed recursive TFs can have overlap)
  • Associated type families should generate open WF constraint
  • permutations{implicit, explicit} imports/exports of open TF (cover all 4 cases)
  • Closed TFs
  • Higher return arities

Some problems

Right now, the hadrian test suite runs on a stage2 compiler, which is way too late in the development flow. Want this to run on stage1 compiler, but that is causing issues for me now (need to resolve).

Some Docs

@ahubers ahubers self-assigned this Mar 11, 2022
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

No branches or pull requests

1 participant