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

Cover more unification codepaths in the testsuite #356

Open
3 tasks
brendanzab opened this issue May 4, 2022 · 0 comments
Open
3 tasks

Cover more unification codepaths in the testsuite #356

brendanzab opened this issue May 4, 2022 · 0 comments

Comments

@brendanzab
Copy link
Member

brendanzab commented May 4, 2022

Some of the codepaths in unification are not currently covered by the testsuite.

One attempt I had at making a test for the first codepath was:

let test_left : fun (f : Type -> { foo : Type }) -> fun (x : Type) -> f x -> (f x).foo = 
   fun _ => fun _ => fun x => x;

let test_right : fun (f : Type -> { foo : Type }) -> fun (x : Type) -> (f x).foo -> f x = 
   fun _ => fun _ => fun x => x;

Type

Alas, I don't think that this actually triggers conversion checking, so I'll have to think a bit more carefully about this.

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