chore: better error message for loose bvar in whnf

This commit is contained in:
Jannis Limperg 2023-07-19 13:44:20 +02:00 committed by Leonardo de Moura
parent 367b38701f
commit 6407197e54

View file

@ -314,7 +314,7 @@ end
| .lam .. => return e
| .sort .. => return e
| .lit .. => return e
| .bvar .. => unreachable!
| .bvar .. => panic! "loose bvar in expression"
| .letE .. => k e
| .const .. => k e
| .app .. => k e