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

Refine hole in type signature to function type #1331

Closed
janmasrovira opened this issue Jul 11, 2022 · 0 comments · Fixed by #1379
Closed

Refine hole in type signature to function type #1331

janmasrovira opened this issue Jul 11, 2022 · 0 comments · Fixed by #1379
Assignees
Milestone

Comments

@janmasrovira
Copy link
Collaborator

janmasrovira commented Jul 11, 2022

Currently typechecking the following fails.

module Tmp;

inductive Bool {
  false : Bool;
  true : Bool;
};

not : _;
not false ≔ true;
not true ≔ false;

end;

impossible is thrown because there are more patterns than arguments in the type of the signature.

@janmasrovira janmasrovira self-assigned this Jul 11, 2022
@cwgoes cwgoes transferred this issue from another repository Jul 13, 2022
@jonaprieto jonaprieto added this to the 0.2.2 milestone Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants