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 implementation method #3455

Open
spcfox opened this issue Dec 25, 2024 · 0 comments
Open

%search cannot find the parameter in the implementation method #3455

spcfox opened this issue Dec 25, 2024 · 0 comments

Comments

@spcfox
Copy link
Contributor

spcfox commented Dec 25, 2024

Steps to Reproduce

interface Commutative ty (s : Semigroup ty) where
  commutative : (x, y : ty) -> x <+> y === y <+> x

Commutative Bool Any where
  commutative = ?hole

Expected Behavior

Successful compilation

Observed Behavior

Error: While processing type of commutative. Can't find an implementation for Semigroup Bool.

02:2:44--2:51
 1 | interface Commutative ty (s : Semigroup ty) where
 2 |   commutative : (x, y : ty) -> x <+> y === y <+> x
                                                ^^^^^^^
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