-
Notifications
You must be signed in to change notification settings - Fork 338
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 in Agda, perhaps related to --rewriting
#6338
Comments
Thanks to the report @jsiek ! Which Agda version does this apply to? |
This applies to version 2.6.2. |
So I'll need to install that version... I tried the following but failed.
|
From the announcement of the release candidate on the mailing list: # Installation
Agda 2.6.3 RC1 can be installed using cabal-install or stack:
* Getting the release candidate
$ cabal get
https://hackage.haskell.org/package/Agda-2.6.2.2.20221106/candidate/Agda-2.6.2.2.20221106.tar.gz
$ cd Agda-2.6.2.2.20221106
* Using cabal-install
$ cabal install
* Using stack
$ stack --stack-yaml stack-a.b.c.yaml install
replacing `a.b.c` with your version of GHC. |
Thanks! (I'm not on the mailing list.) |
With the release candidate, I'm getting a regular error from a different place in the code... it looks like the rewriting behavior has changed. I'll try to fix that other error... |
How do I update my emacs agda-mode? I thought the cabal install for the agda release would also install a new agda-mode, but that doesn't seem to be the case. |
Oops! Due to an involuntary errror, the |
Ok, then I'll wait for a fixed release candidate. |
I didn't get any error running Agda 2.6.3 RC1 on $ cd src/rewriting/examples/
$ agda Lambda.agda |
Good! |
At the moment, you can use this temporal fix: In the file (defvar agda2-version "2.6.2.2" with (defvar agda2-version "2.6.2.2.20221106" |
Thanks! I can confirm that its working with 2.6.2.2.20221106. |
--rewriting
To reproduce the bug, go to the following repository:
https://github.com/jsiek/abstract-binding-trees
and checkout at the tag
agda-bug
Then process the file
src/rewriting/examples/Lambda.agda
which will produces the following error:
The error goes away if a small change is made to the ABTPredicate.agda file. See the comment in that file.
The text was updated successfully, but these errors were encountered: