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

Internal error related to eta-expansion #78

Open
asr opened this issue Nov 7, 2016 · 1 comment
Open

Internal error related to eta-expansion #78

asr opened this issue Nov 7, 2016 · 1 comment

Comments

@asr
Copy link
Owner

asr commented Nov 7, 2016

module Bug where

postulate
  D   : Set
  P   : D  Set
  k   : D
  Pk  : P k
  _≡_ : D  D  Set

c : (a : D)  P a  D
c a Pa = k
{-# ATP definition c #-}

postulate foo : c k Pk ≡ k
{-# ATP prove foo #-}
$ apia Bug.agda
An internal error has occurred. Please report this as a bug.
Location of the error: src/Apia/Utils/AgdaAPI/EtaExpansion.hs:74
@asr
Copy link
Owner Author

asr commented Dec 27, 2016

Blocked by #81.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant