Internal error at absurd pattern followed by rewrite
#2849
Labels
regression on master
Unreleased regression in development version (Change to "regression in ..." should it be released!)
rewrite
The "rewrite" construction in LHS-es
type: bug
Issues and pull requests about actual bugs
Milestone
Trying to check the following file leads to the error:
Replacing the absurd pattern by a variable and splitting that via agda-mode also causes an error. It seems to act as if the
rewrite
were actually expanded into awith
on the previous line and the corresponding patterns on the current line. This leaves... | () | .false | refl
, but because there is no extrawith
on the previous line, the checker complains about there being unexpectedwith
patterns.The text was updated successfully, but these errors were encountered: