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

%search cannot find the parameter in the interface constraint #3448

Open
spcfox opened this issue Dec 19, 2024 · 0 comments · May be fixed by #3451
Open

%search cannot find the parameter in the interface constraint #3448

spcfox opened this issue Dec 19, 2024 · 0 comments · May be fixed by #3451

Comments

@spcfox
Copy link
Contributor

spcfox commented Dec 19, 2024

Steps to Reproduce

X : Type
data Y : X -> Type

failing "Can't find an implementation for X"
  interface Y %search => Z (x : X) where

interface Y x => Z (x : X) where

Expected Behavior

One of two:

  1. Both definitions are incorrect
  2. %search can find x

Observed Behavior

Interface parameters can be used in constraints, but %search cannot find them.

@spcfox spcfox changed the title %search cannot find parameter in constraint %search cannot find the parameter in the interface constraint Dec 19, 2024
@spcfox spcfox linked a pull request Dec 20, 2024 that will close this issue
1 task
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.

1 participant