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

Use 'unify' rather than 'convert' if possible #384

Merged
merged 2 commits into from
Jun 29, 2020

Conversation

edwinb
Copy link
Collaborator

@edwinb edwinb commented Jun 29, 2020

'convert' doesn't solve holes, so might reject things that are solvable.
This can be an issue when resolving interfaces, because we were using
convert for arguments of the invertible holes that arise when trying to
resolve them. Fixes #66.

edwinb added 2 commits June 29, 2020 15:04
'convert' doesn't solve holes, so might reject things that are solvable.
This can be an issue when resolving interfaces, because we were using
convert for arguments of the invertible holes that arise when trying to
resolve them. Fixes idris-lang#66.
@edwinb edwinb merged commit a35965b into idris-lang:master Jun 29, 2020
@edwinb edwinb deleted the unify-invert branch July 25, 2021 15:47
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.

Can't unify an interface with its instance
1 participant