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

Another interal error in Substitute:72 when filling a hole #3428

Closed
caryoscelus opened this issue Dec 3, 2018 · 1 comment
Closed

Another interal error in Substitute:72 when filling a hole #3428

caryoscelus opened this issue Dec 3, 2018 · 1 comment
Labels
status: already-fixed type: bug Issues and pull requests about actual bugs
Milestone

Comments

@caryoscelus
Copy link
Contributor

caryoscelus commented Dec 3, 2018

Using Agda version 2.5.4.2 (similar #3312 is reported to be fixed in it).

An internal error has occurred. Please report this as a bug.
Location of the error: src/full/Agda/TypeChecking/Substitute.hs:72

The simplest code i've found that triggers it:

kk :  {ℓ}  Set ℓ
kk = {!∀ B → B!}

Both C-c C-r and C-c C-space trigger this. C-c C-. shows Have: piSort (univSort _8) (λ B → _8)

Removing ℓ or specifying B type is enough to avoid issue.

@gallais
Copy link
Member

gallais commented Dec 3, 2018

Same as #3312: it looks like it has been fixed in master.

@gallais gallais added type: bug Issues and pull requests about actual bugs status: already-fixed labels Dec 3, 2018
@gallais gallais added this to the 2.6.0 milestone Dec 3, 2018
@gallais gallais closed this as completed Dec 3, 2018
gallais added a commit that referenced this issue Dec 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: already-fixed type: bug Issues and pull requests about actual bugs
Projects
None yet
Development

No branches or pull requests

2 participants