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

A bug with insertion of coercions #98

Closed
dmitromikh opened this issue Aug 3, 2020 · 1 comment · Fixed by #109
Closed

A bug with insertion of coercions #98

dmitromikh opened this issue Aug 3, 2020 · 1 comment · Fixed by #109

Comments

@dmitromikh
Copy link

In the definition of mixin like the next one:

HB.mixin Record foo T := {
  bar : T -> true;
}.

there is an error without any meaningful explanation. However, after the insertion of coercion manually, it works fine:

HB.mixin Record foo T := {
  bar : T -> (is_true true);
}.

So, it would be great if the coercion insertion was automatic.

@CohenCyril
Copy link
Member

duplicate of #34

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 a pull request may close this issue.

2 participants