-
Notifications
You must be signed in to change notification settings - Fork 364
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 when matching on user syntax with binding #5257
Comments
The error message should be better. |
The internal error is raised in a pure function:
It was already an internal error in 2.4.2.4 (the oldest Agda I have installed) and could be as old as the syntax feature itself.
|
With latest master, the code above does not produce an internal error, but instead it is now something like:
|
I think this error message is reasonable enough -> closing. |
I suggest to cherry-pick the fix into the |
It currently works on release-2.6.3 and I didn't figure out where it started to work (=give a reasonable error). |
I was wrong. I thought there was a commit closing the issue. |
Could have been fixed along with #394 in PR: This issue can go on the closed issues for milestone 2.6.3. (Was still broken in 2.6.2.2.) |
When I execute the following (in Agda 2.6.1.2)
I get the following error message
I'm not sure whether this is an abusive use of syntax, but reporting anyways because the message tells me to.
The text was updated successfully, but these errors were encountered: