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

AddClause does not not generate a correct clause for operators #249

Open
petithug opened this issue Mar 29, 2020 · 0 comments
Open

AddClause does not not generate a correct clause for operators #249

petithug opened this issue Mar 29, 2020 · 0 comments

Comments

@petithug
Copy link
Contributor

When using AddClause on an interface implementation, the operator clauses are invalid.

See also #248 and #247

Steps to Reproduce

Loading the following in the REPL and executing ":ac 4 Eq"

data Blah : Type where
  MkBlah : Blah

Eq Blah where

Expected Behavior

data Blah : Type where
  MkBlah : Blah

Eq Blah where
  (/=) x y = ?something_rhs

Observed Behavior

data Blah : Type where
  MkBlah : Blah

Eq Blah where
/= x y = ?/=_rhs
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